@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

*,
::after,
::before {
    box-sizing: border-box;
}


:root {
    --bs-dark: linear-gradient(200deg, rgba(171, 171, 171,0.05) 0%, rgba(171, 171, 171,0.05) 23%,rgba(90, 90, 90,0.05) 23%, rgba(90, 90, 90,0.05) 48%,rgba(65, 65, 65,0.05) 48%, rgba(65, 65, 65,0.05) 61%,rgba(232, 232, 232,0.05) 61%, rgba(232, 232, 232,0.05) 100%),linear-gradient(126deg, rgba(194, 194, 194,0.05) 0%, rgba(194, 194, 194,0.05) 11%,rgba(127, 127, 127,0.05) 11%, rgba(127, 127, 127,0.05) 33%,rgba(117, 117, 117,0.05) 33%, rgba(117, 117, 117,0.05) 99%,rgba(248, 248, 248,0.05) 99%, rgba(248, 248, 248,0.05) 100%),linear-gradient(144deg, rgba(64, 64, 64,0.05) 0%, rgba(64, 64, 64,0.05) 33%,rgba(211, 211, 211,0.05) 33%, rgba(211, 211, 211,0.05) 50%,rgba(53, 53, 53,0.05) 50%, rgba(53, 53, 53,0.05) 75%,rgba(144, 144, 144,0.05) 75%, rgba(144, 144, 144,0.05) 100%),linear-gradient(329deg, hsl(148,0%,0%),hsl(148,0%,0%));
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    opacity: 1;
    overflow-y: scroll;
    margin: 0;
    letter-spacing: 1px;
}

a {
    cursor: pointer;
    text-decoration: none !important;
    font-family: 'Poppins', sans-serif;
}

li {
    list-style: none;
}

h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.275rem;
    color: var(--bs-emphasis-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.row {
    margin-bottom: 10px;
}

.head {
    margin-top: 16px;
}

#txn_id_container {
    display: none;
}

input {
    border-bottom: 1px solid rgb(95, 94, 94);
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.user-icon {
    font-size: 20px;

}

.a {
    font-size: 13px;
    text-align: center;
    margin-top: 30px;
}

.table {
    margin-top: 10px;
}

/* dashboard */

.card-list {
    width: 100%;
}

.card-list:before,
.card-list:after {
    content: " ";
    display: table;
}

.card-list:after {
    clear: both;
}

.card {
    border-radius: 8px;
    color: white;
    padding: 10px;
    position: relative;
}

.card svg {
    color: white;
    opacity: 0.3;
    position: absolute;
    right: 13px;
    top: 13px;
}

.card .stat {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 8px;
    margin-top: 25px;
    padding: 10px 10px 0;
    text-transform: uppercase;
    color: #eff;
    letter-spacing: 2px;
}

.card .stat b {
    font-size: 13px;
}

.card .title {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    color: #eee;
    padding: 10px 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card .value {
    color: #dedede;
    font-size: 28px;
    padding: 0 10px;
}

/* Layout for admin dashboard skeleton */

.wrapper {
    align-items: stretch;
    display: flex;
    width: 100%;
}

#sidebar {
    max-width: 264px;
    min-width: 264px;
    background: var(--bs-dark);
    transition: all 0.35s ease-in-out;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    width: 100%;
    background: var(--bs-dark-bg-subtle);
}

.border-tertiary {
    /* border: none !important; */
    background: var(--bs-primary-bg-subtle);
    box-shadow: none !important;
}

/* Sidebar Elements Style */

.sidebar-logo {
    padding: 1.15rem;
}

.sidebar-logo a {
    color: #3e70b9;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 35px;
}

.sidebar-nav {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    margin-left: 0;
    margin-top: 1.3rem;
}

.sidebar-header {
    color: #e9ecef81;
    font-size: .55rem;
    padding: .375rem .5rem;
    border-bottom: 1px solid rgba(87, 87, 87, 0.334);
    margin: 8px 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #e9ecef;
    position: relative;
    display: block;
    font-size: 0.875rem;
}

.sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

.sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.avatar {
    height: 40px;
    width: 40px;
}

.navbar-expand .navbar-nav {
    margin-left: auto;
}

.content {
    flex: 1;
    max-width: 100vw;
    width: 100vw;
}

@media (min-width:768px) {
    .content {
        max-width: auto;
        width: auto;
    }
}

.card {
    box-shadow: 0 0 .875rem 0 rgba(34, 46, 60, .05);
    margin-bottom: 24px;
}

.illustration {
    background-color: var(--bs-info-bg-subtle);
    color: var(--bs-emphasis-color);
}

.illustration-img {
    max-width: 150px;
    width: 100%;
}

/* Sidebar Toggle */

#sidebar.collapsed {
    margin-left: -264px;
}

/* Footer and Nav */

@media (max-width:767.98px) {

    .js-sidebar {
        margin-left: -264px;
    }

    #sidebar.collapsed {
        margin-left: 0;
    }

    .navbar,
    footer {
        width: 100vw;
    }
}

/* Theme Toggler */

.theme-toggle {
    position: fixed;
    top: 94%;
    transform: translateY(-65%);
    text-align: center;
    z-index: 10;
    right: 20px;
    left: auto;
    border: none;
    border-radius: 50%;
    background-color: var(--bs-body-color);
    opacity: 0.2;
    transition: all .2s ease-in-out;
}

.theme-toggle:hover {
    opacity: 0.4;
}

html[data-bs-theme="dark"] .theme-toggle .fa-sun,
html[data-bs-theme="light"] .theme-toggle .fa-moon {
    cursor: pointer;
    padding: 8px;
    display: block;
    font-size: 1.25rem;
    color: #FFF;
}

html[data-bs-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

html[data-bs-theme="light"] .theme-toggle .fa-sun {
    display: none;
}


/* auth page */

section.auth-main-section {
    background-image: radial-gradient(circle at 39% 47%, rgba(107, 107, 107, 0.08) 0%, rgba(107, 107, 107, 0.08) 33.333%, rgba(72, 72, 72, 0.08) 33.333%, rgba(72, 72, 72, 0.08) 66.666%, rgba(36, 36, 36, 0.08) 66.666%, rgba(36, 36, 36, 0.08) 99.999%), radial-gradient(circle at 53% 74%, rgba(182, 182, 182, 0.08) 0%, rgba(182, 182, 182, 0.08) 33.333%, rgba(202, 202, 202, 0.08) 33.333%, rgba(202, 202, 202, 0.08) 66.666%, rgba(221, 221, 221, 0.08) 66.666%, rgba(221, 221, 221, 0.08) 99.999%), radial-gradient(circle at 14% 98%, rgba(184, 184, 184, 0.08) 0%, rgba(184, 184, 184, 0.08) 33.333%, rgba(96, 96, 96, 0.08) 33.333%, rgba(96, 96, 96, 0.08) 66.666%, rgba(7, 7, 7, 0.08) 66.666%, rgba(7, 7, 7, 0.08) 99.999%), linear-gradient(45deg, rgb(97, 14, 117), rgb(20, 32, 127));
}

.auth-section {
    background: rgba(255, 255, 255, 0.17);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.2px);
    -webkit-backdrop-filter: blur(7.2px);
    border: 1px solid rgba(214, 214, 214, 0.35);
}

/* toast alert design */

#srsToastContainer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.srs-toast {
    min-width: 260px;
    max-width: 330px;
    padding: 14px 18px;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.20);
    animation: toastSlideIn 0.4s ease forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.srs-toast i {
    font-size: 20px;
}

.srs-toast.success { background: #16a34a; }
.srs-toast.danger   { background: #dc2626; }
.srs-toast.warning { background: #d97706; }
.srs-toast.info    { background: #2563eb; }

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

@keyframes toastFadeOut {
    from { opacity: 1; }
    to   { opacity: 0; transform: translateX(50%); }
}

.srs-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    background: rgba(255,255,255,0.15);
    animation: progressAnim linear forwards;
}

@keyframes progressAnim {
    from { width: 100%; }
    to   { width: 0%; }
}


/* forms and inputs */

.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #ccc !important;
}
