@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ==========================================================================
   EDUBANDHU GLOBAL FONT-FACE DEFINITIONS (GO FONT FAMILY)
   ========================================================================== */
@font-face {
    font-family: 'Go';
    src: url('../font/Go-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Italic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Medium.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Medium-Italic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Medium-Italic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Bold.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Bold-Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Bold-Italic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* Custom Styles for Dashboard */
:root {
    --bg-color: #f4f7fe;
    --text-main: #2b3674;
    --text-muted: #a3aed1;
    --card-bg: #ffffff;
    --sidebar-text: #8f9bba;
    --primary-color: #4318ff;
    --primary-bg-hover: rgba(67, 24, 255, 0.05);
    --primary-shadow: rgba(67, 24, 255, 0.2);
    --upgrade-bg: #111c44;
    --card-shadow: rgba(0, 0, 0, 0.02);
    --icon-bg-hover: #f4f7fc;
    --badge-green-bg: rgba(5, 205, 153, 0.15);
    --badge-red-bg: rgba(238, 93, 80, 0.15);
    --card-hover-shadow: rgba(0, 0, 0, 0.05);
    /* own color variable */

    --text-primary: #2b3674;
    --bg-primary: #00145a;
    --bg-secondary: #f4f7fe;

    --border-color: rgba(0, 0, 0, 0.1);
    --custom-rounded: 12px;
    --custom-rounded-second: 8px;

}

html.dark-mode {
    --bg-color: #0a1333;
    --text-main: #ffffff;
    --text-muted: #8f9bba;
    --card-bg: #111c44;
    --sidebar-text: #a3aed1;
    --primary-color: #7551ff;
    --primary-bg-hover: rgba(117, 81, 255, 0.1);
    --primary-shadow: rgba(117, 81, 255, 0.3);
    --upgrade-bg: #1a2035;
    --card-shadow: rgba(0, 0, 0, 0.2);
    --icon-bg-hover: #1f274a;
    --badge-green-bg: rgba(5, 205, 153, 0.2);
    --badge-red-bg: rgba(238, 93, 80, 0.2);
    --card-hover-shadow: rgba(0, 0, 0, 0.3);
    /* own color variable  */

    --text-primary: #2b3674;
    --bg-primary: #7551ff;
    --bg-secondary: #0a1333;

    --border-color: rgba(183, 183, 183, 0.803);
    --custom-rounded: 12px;
    --custom-rounded-second: 8px;
}

body {
    background-color: var(--bg-color);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.auth-title,
.auth-heading {
    font-family: 'Go', sans-serif !important;
    font-weight: 700;
}

/* improve css  */
.form-control,
.form-select {
    border-radius: 12px;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    color: var(--text-main);
    font-size: 15px;
}

.form-control,
.form-select,
.form-control::placeholder {
    color: var(--text-main);
    opacity: 0.9;
}



/* input icons date */
input[type="date"] {
    color: var(--text-main) !important;
}

input[type="date"]::placeholder {
    color: var(--text-muted);
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(12%) sepia(80%) saturate(2500%) hue-rotate(205deg);
    cursor: pointer;
}

/* end input icons date */

/* clear btn css start */
.clear-btn {
    background-color: var(--bg-primary);
    color: #ffffff;
    border: 1px solid var(--bg-primary);
    border-radius: 6px;
    padding: 8px 18px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.clear-btn:hover {
    background-color: #ffffff;
    color: var(--bg-primary);
    border-color: var(--bg-primary);
    transform: translateY(-2px);
}

.clear-btn i {
    transition: transform 0.4s ease;
}

.clear-btn:hover i {
    transform: rotate(-180deg);
}

/* end clear btn css */


/* TOGGLE BTN  */
.toggle-btn {
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    padding: 10px;
    border-radius: var(--custom-rounded-second);
    text-decoration: none;
    margin-right: 12px;
}


.content-text p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 16px;
}

.content-text ul,
.content-text ol {
    padding-left: 1.5rem;
    color: #4b5563;
}

.custom-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.custom-table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    vertical-align: middle;
}


/* end improve css */
.text-muted-custom {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

#wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    background: var(--card-bg) !important;
    color: var(--sidebar-text);
    transition: all 0.3s;
    overflow-y: auto;
    padding: 20px 15px;
    border-right: none;
}

@media (min-width: 992px) {
    #sidebar {
        min-width: 260px;
        max-width: 260px;
        min-height: 100vh;
        height: 100vh;
        position: sticky;
        top: 0;
        align-self: flex-start;
    }

    #sidebar.collapsed {
        min-width: 80px;
        max-width: 80px;
    }

    #sidebar.collapsed .sidebar-header h4 span,
    #sidebar.collapsed .section-title,
    #sidebar.collapsed ul li a span,
    #sidebar.collapsed .upgrade-card,
    #sidebar.collapsed .sidebar-notif-badge {
        display: none !important;
    }

    #sidebar.collapsed .sidebar-header {
        padding: 18px 0 22px !important;
        justify-content: center !important;
    }

    #sidebar.collapsed .sidebar-header h4 {
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        font-size: 1.55rem !important;
    }

    #sidebar.collapsed .sidebar-header h4 img,
    #sidebar.collapsed ul li a i,
    #sidebar.collapsed ul li a div i {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    #sidebar.collapsed ul li {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    #sidebar.collapsed ul li a {
        justify-content: center !important;
        padding: 0 !important;
        width: 46px !important;
        height: 46px !important;
        margin: 4px auto 6px !important;
        border-radius: 14px !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    #sidebar.collapsed ul li a>div {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #sidebar.collapsed ul li a i {
        font-size: 1.25rem !important;
        width: auto !important;
    }
}

/* Hide scrollbar for sidebar (just in case) */
#sidebar::-webkit-scrollbar {
    display: none;
}

#sidebar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

#sidebar .sidebar-header {
    padding: 10px 10px 20px;
}

#sidebar .sidebar-header h4 {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
}

#sidebar .sidebar-header h4 img {
    height: 30px;
    margin-right: 10px;
}

#sidebar .section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    margin-bottom: 10px;
    padding-left: 15px;
}

#sidebar ul.components {
    padding: 0;
    border-bottom: none;
}

#sidebar ul li a {
    padding: 12px 15px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: 0.2s;
    border-radius: 12px;
    margin-bottom: 5px;
}

#sidebar ul li a i {
    font-size: 1.1rem;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

#sidebar ul li a:hover {
    color: var(--primary-color);
    background: var(--primary-bg-hover);
}

#sidebar ul li.active>a {
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0px 5px 14px var(--primary-shadow);
}

.upgrade-card {
    background: var(--upgrade-bg);
    border-radius: 20px;
    padding: 15px;
    margin-top: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.upgrade-card h6 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.upgrade-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.upgrade-card .btn-upgrade {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    border-radius: 10px;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    width: 100%;
}

.upgrade-card .btn-upgrade:hover {
    background: rgba(255, 255, 255, 0.3);
}

.upgrade-card .icon-box {
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

#content {
    flex-grow: 1;
    min-width: 0;
    padding: 25px;
    min-height: 100vh;
    transition: all 0.3s;
}

@media (max-width: 991px) {
    #content {
        flex-grow: 1;
        min-width: 0;
        padding: 15px;
        min-height: 100vh;
        transition: all 0.3s;
    }
}


.top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    background: var(--card-bg);
    padding: 15px 25px;
    border-radius: 20px;
    box-shadow: 0px 5px 14px var(--card-shadow);
}

@media (max-width: 991px) {
    .mobile-grid-header {
        display: grid !important;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
    }

    .mobile-grid-header .header-title {
        display: contents !important;
    }

    .mobile-grid-header .header-title .icon-btn {
        grid-row: 1;
        grid-column: 1;
    }

    .mobile-grid-header .header-title .title-text-container {
        grid-row: 2;
        grid-column: 1 / -1;
        margin-top: 25px;
    }

    .mobile-grid-header .header-tools {
        grid-row: 1;
        grid-column: 3;
    }
}

.header-title h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 5px;
    font-weight: 700;
}

.header-title p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.header-tools {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    padding: 8px 18px;
    border-radius: 30px;
}

.header-tools .icon-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin-right: 5px;
    text-decoration: none;
    transition: 0.2s;
    font-size: 1.1rem;
}

.header-tools .icon-btn:hover {
    background: var(--icon-bg-hover);
    color: var(--primary-color);
}

.header-tools .profile {
    display: flex;
    align-items: center;
    margin-left: 10px;
    text-decoration: none;
}

.header-tools .profile img {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

.header-tools .profile-info {
    line-height: 1.2;
}

.header-tools .profile-info .name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
}

.header-tools .profile-info .role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.card-custom {
    background: var(--card-bg);
    border: none;
    border-radius: var(--custom-rounded);
    padding: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-custom:hover {
    transform: translateY(-3px);
}

.card-primary {
    background: linear-gradient(135deg, #4318ff 0%, #3911db 100%);
    color: #fff;
}



.card-primary::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    z-index: -1;
    transition: transform 0.5s ease;
}

.card-primary:hover::before {
    transform: scale(1.2);
}

.card-primary .stat-title,
.card-primary .stat-value,
.card-primary .stat-subtitle {
    color: #fff !important;
}

.card-primary .stat-title {
    color: rgba(255, 255, 255, 0.85) !important;
}

.card-primary .stat-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    /* Reduced from 20px */
}

.stat-icon {
    width: 48px;
    /* Reduced from 56px */
    height: 48px;
    /* Reduced from 56px */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-custom:hover .stat-icon {
    transform: scale(1.15) rotate(6deg);
}

.card-primary .stat-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.card-white .stat-icon {
    background: #f4f7fe;
    color: #4318ff;
}

.stat-title {
    font-size: 0.9rem;
    color: #8f9bba;
    font-weight: 600;
    margin-bottom: 4px;
    /* Reduced from 6px */
}

.stat-value {
    font-size: 2rem;
    /* Reduced from 2.5rem */
    font-weight: 800;
    color: #2b3674;
    margin-bottom: 2px;
    /* Reduced from 4px */
    display: flex;
    align-items: baseline;
    letter-spacing: -1px;
}

.stat-subtitle {
    font-size: 0.85rem;
    color: #a3aed1;
    font-weight: 500;
}

.badge-green {
    background: var(--badge-green-bg);
    color: #05cd99;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-red {
    background: var(--badge-red-bg);
    color: #ee5d50;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-warning {
    background: rgba(255, 171, 0, 0.15);
    color: #ffab00;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-secondary {
    background: rgba(163, 174, 209, 0.15);
    color: #a3aed1;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-primary .badge-green {
    background: rgba(5, 205, 153, 1);
    color: #fff;
}

.card-primary .badge-red {
    background: rgba(238, 93, 80, 1);
    color: #fff;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.chart-title h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 3px 0;
}

.chart-title p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.chart-dropdown {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.chart-dropdown option {
    background: var(--card-bg);
    color: var(--text-main);
}

.chart-canvas-container {
    position: relative;
    height: 250px;
    width: 100%;
}

.donut-legend {
    margin-top: 15px;
}

.legend-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.legend-text {
    color: var(--sidebar-text);
    font-weight: 600;
    flex-grow: 1;
}

.legend-val {
    font-weight: 700;
    color: var(--text-main);
    width: 60px;
    text-align: right;
}

.legend-badge {
    margin-left: 10px;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h4 {
    color: var(--text-main);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-control-custom {
    background: var(--bg-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-main);
    padding: 12px 15px;
    border-radius: 12px;
}

.form-control-custom:focus {}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h4 {
    color: var(--text-main);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-control-custom {
    background: var(--bg-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-main);
    padding: 12px 15px;
    border-radius: 12px;
}

.form-control-custom:focus {
    background: var(--bg-color);
    color: var(--text-main);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem var(--primary-shadow);
}

.form-label {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Custom Table Design */
.table-custom {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table-custom th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid rgba(0, 0, 0, 0.03) !important;
    padding: 15px 20px;
    background: transparent;
}

.dark-mode .table-custom th {
    border-bottom: 2px solid rgba(255, 255, 255, 0.05) !important;
}

.table-custom td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
    color: var(--text-main);
    background: transparent;
    vertical-align: middle;
}

.dark-mode .table-custom td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.table-custom tr:last-child td {
    border-bottom: none !important;
}

.table-custom tbody tr {
    transition: all 0.3s ease;
}

.table-custom tbody tr:hover td {
    background-color: rgba(67, 24, 255, 0.03) !important;
}

.dark-mode .table-custom tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.03) !important;
}

/* Action Buttons in Table */
.table-custom .btn-action {
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.2s ease;
    margin: 2px;
}

.table-custom .btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dark-mode .table-custom .btn-action:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.table-custom .btn-action-view {
    background: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.table-custom .btn-action-view:hover {
    background: rgba(13, 202, 240, 0.2);
}

.table-custom .btn-action-edit {
    background: rgba(67, 24, 255, 0.1);
    color: var(--primary-color);
}

.table-custom .btn-action-edit:hover {
    background: rgba(67, 24, 255, 0.2);
}

.table-custom .btn-action-delete {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.table-custom .btn-action-delete:hover {
    background: rgba(220, 53, 69, 0.2);
}

/* Custom Underline Tabs */
.custom-tabs-underlined {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.custom-tabs-underlined::-webkit-scrollbar {
    display: none;
}

.dark-mode .custom-tabs-underlined {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.custom-tabs-underlined .nav-link {
    color: var(--text-muted) !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    padding: 10px 20px;
    font-weight: 600;
    margin-bottom: -1px;
    /* Overlap border */
    background-color: transparent !important;
    transition: all 0.3s ease;
}

.custom-tabs-underlined .nav-link:hover {
    color: var(--text-main) !important;
}

.custom-tabs-underlined .nav-link.active {
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--primary-color) !important;
    background-color: transparent !important;
}

/* Custom Toast Design */
.custom-toast {
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    width: 350px;
    max-width: 100%;
    border: none;
    background-color: transparent;
    /* overridden by specific classes */
}

.custom-toast.show {
    opacity: 0.95 !important;
}

.custom-toast .d-flex {
    padding: 15px;
    align-items: center;
}

.custom-toast .toast-icon {
    font-size: 20px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-toast .toast-body {
    padding: 0;
    font-size: 15px;
    flex-grow: 1;
    font-weight: 500;
}

.custom-toast .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.7;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
}

.custom-toast .btn-close:hover {
    opacity: 1;
}

.custom-toast-info {
    background-color: #3498db !important;
}

.custom-toast-error {
    background-color: #e74c3c !important;
}

.custom-toast-warning {
    background-color: #f1c40f !important;
}

.custom-toast-success {
    background-color: #2ecc71 !important;
}

/* Progress bar */
.custom-toast .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 100%;
    animation: toastProgress 4s linear forwards;
}

@keyframes toastProgress {
    0% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}

/* Custom Scrollbar for tables */
.table-responsive::-webkit-scrollbar {
    height: 6px;
    width: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--custom-rounded);
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--bg-primary);
    border-radius: var(--custom-rounded);
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--bg-primary);
    cursor: pointer;
}

/* Generic Custom Delete Modal */
.custom-delete-modal {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 36px 32px 28px;
    box-shadow:
        0 1px 2px rgba(27, 33, 64, 0.04),
        0 20px 40px -12px rgba(27, 33, 64, 0.18),
        0 0 0 1px rgba(27, 33, 64, 0.03);
    text-align: center;
    position: relative;
    border: none;
    font-family: 'Poppins', sans-serif;
}

/* Custom Modal Backdrop - Clean Solid Overlay */
.modal-backdrop {
    background-color: rgba(15, 23, 42, 0.55) !important;
    opacity: 1 !important;
}

.modal {
    z-index: 1055 !important;
}

.modal-backdrop.show {
    opacity: 1 !important;
}

.custom-delete-modal .icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-delete-modal .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #FDECEF;
}

.custom-delete-modal .ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #FDECEF;
    animation: pulse-ring 2.2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: .9;
    }

    70% {
        transform: scale(1.55);
        opacity: 0;
    }

    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.custom-delete-modal .icon-wrap svg {
    position: relative;
    z-index: 1;
    width: 26px;
    height: 26px;
    animation: wobble-icon 0.6s ease 0.35s 1;
    transform-origin: 50% 20%;
}

@keyframes wobble-icon {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-8deg);
    }

    55% {
        transform: rotate(6deg);
    }

    80% {
        transform: rotate(-3deg);
    }
}

.custom-delete-modal h1 {
    font-family: 'Go', sans-serif;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.01em;
    color: #1B2140;
    margin-bottom: 10px;
    margin-top: 0;
}

.custom-delete-modal p.body-text {
    font-size: 14.5px;
    line-height: 1.55;
    color: #565C7A;
    max-width: 280px;
    margin: 0 auto 26px;
}

.custom-delete-modal p.body-text strong {
    color: #1B2140;
    font-weight: 600;
}

.custom-delete-modal .actions {
    display: flex;
    gap: 10px;
}

.custom-delete-modal .actions button {
    flex: 1;
    font-family: 'Go', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 16px;
    border-radius: 13px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
    letter-spacing: -0.005em;
}

.custom-delete-modal .actions button:active {
    transform: scale(0.97);
}

.custom-delete-modal .btn-cancel {
    background: #FFFFFF;
    color: #1B2140;
    border-color: #E4E3F5;
}

.custom-delete-modal .btn-cancel:hover {
    background: #F7F7FD;
    border-color: #CFCDEE;
}

.custom-delete-modal .btn-delete {
    background: linear-gradient(180deg, #EC3A5F 0%, #E0234E 55%, #B91C3E 100%);
    color: #fff;
    box-shadow: 0 8px 16px -6px rgba(224, 35, 78, 0.55);
}

.custom-delete-modal .btn-delete:hover {
    box-shadow: 0 10px 20px -6px rgba(224, 35, 78, 0.65);
    filter: brightness(1.03);
}

.custom-delete-modal .actions button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 106, 242, 0.45);
}

.custom-delete-modal .fine-print {
    margin-top: 18px;
    font-size: 11.5px;
    color: #9AA0BE;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.custom-delete-modal .fine-print svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* deleted state */
.custom-delete-modal.done .default-view {
    display: none;
}

.custom-delete-modal .done-view {
    display: none;
}

.custom-delete-modal.done .done-view {
    display: block;
    animation: rise 0.4s cubic-bezier(.2, .9, .25, 1.15);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.custom-delete-modal .check-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #E9F9F0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-delete-modal .check-circle svg {
    width: 28px;
    height: 28px;
}

.custom-delete-modal .done-view p {
    font-size: 14px;
    color: #565C7A;
    margin-bottom: 22px;
}

/* Sidebar Select2 Premium Design */
.sidebar-college-selector {
    background: linear-gradient(145deg, var(--card-bg), rgba(67, 24, 255, 0.02));
    border-radius: 16px;
    padding: 8px 0px;
    position: relative;
    overflow: hidden;
}



.sidebar-college-selector .form-label {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
}

/* Override Select2 inside Sidebar */
.sidebar-college-selector .select2-container--default .select2-selection--single {
    background-color: var(--bg-color);
    border: 1px solid rgba(67, 24, 255, 0.1);
    border-radius: 10px;
    height: 42px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.sidebar-college-selector .select2-container--default.select2-container--open .select2-selection--single,
.sidebar-college-selector .select2-container--default .select2-selection--single:hover {
    border-color: rgba(67, 24, 255, 0.3);
}

.sidebar-college-selector .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-main);
    font-weight: 600;
    padding-left: 14px;
    padding-right: 30px;
    line-height: normal;
}

.sidebar-college-selector .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--text-muted);
    font-weight: 500;
}

.sidebar-college-selector .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    right: 8px;
}

.sidebar-college-selector .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--text-muted) transparent transparent transparent;
    border-width: 5px 5px 0 5px;
}

.sidebar-college-selector .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--text-muted) transparent;
    border-width: 0 5px 5px 5px;
}

.sidebar-college-selector .select2-container--default .select2-selection--single .select2-selection__clear {
    height: 40px;
    display: flex;
    align-items: center;
    margin-right: 5px;
    color: var(--text-muted);
    font-size: 18px;
}

.sidebar-college-selector .select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: #dc3545;
}

.gallery-upload-card {
    border: 2px dashed #b19cf8;
    border-radius: 12px;
    background-color: #fcfaff;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-upload-card:hover {
    background-color: #f3ebff;
    border-color: #8b5cf6;
}

.gallery-upload-icon {
    font-size: 1.8rem;
    color: #8b5cf6;
    margin-bottom: 8px;
}

.gallery-upload-text {
    font-size: 0.85rem;
    color: #8b5cf6;
    font-weight: 600;
}

.gallery-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.gallery-trash-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    font-size: 0.75rem;
}


/* Tabs Scroll Wrapper */
.tabs-scroll-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tabs-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.tabs-scroll-btn {
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    transition: 0.2s;
}

.tabs-scroll-btn:hover {
    background: var(--primary-color);
    color: white;
}

.tabs-scroll-btn.left {
    left: 5px;
}

.tabs-scroll-btn.right {
    right: 5px;
}

/* Unified Select Group for Edit/Add Options */
.custom-select-group {
    display: flex !important;
    align-items: center !important;
    border-radius: 12px !important;
    border: 1px solid var(--border-color, #cbd5e1) !important;
    background-color: var(--card-bg, #ffffff) !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
    height: 42px !important;
}

.custom-select-group:focus-within {
    border-color: var(--primary-color, #4318ff) !important;
    box-shadow: 0 0 0 3px rgba(67, 24, 255, 0.12) !important;
}

.custom-select-group .form-select {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
    color: var(--text-main, #1e293b) !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    height: 100% !important;
    flex: 1 1 auto !important;
    outline: none !important;
}

.custom-select-group .btn-select-action {
    border: 0 !important;
    border-radius: 0 !important;
    border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: rgba(0, 0, 0, 0.02) !important;
    color: var(--primary-color, #4318ff) !important;
    padding: 0 12px !important;
    height: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    outline: none !important;
}

.custom-select-group .btn-select-action:hover {
    background: rgba(67, 24, 255, 0.08) !important;
    color: var(--primary-color, #4318ff) !important;
}

/* Inline Edit / Add Option Row */
.custom-option-row {
    display: flex;
    align-items: center !important;
    border-radius: 12px !important;
    border: 1.5px solid var(--primary-color, #4318ff) !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(67, 24, 255, 0.12) !important;
    background: #ffffff !important;
    height: 42px !important;
}

.custom-option-row.d-none,
.custom-option-row[style*="display: none"] {
    display: none !important;
}

/* Custom Select2 Multi-Select Styling */
.select2-container--default .select2-selection--multiple {
    border-radius: 12px !important;
    border: 1px solid var(--border-color, #cbd5e1) !important;
    min-height: 42px !important;
    padding: 3px 8px !important;
    background-color: var(--card-bg, #ffffff) !important;
    transition: all 0.2s ease !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--primary-color, #4318ff) !important;
    box-shadow: 0 0 0 3px rgba(67, 24, 255, 0.12) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: rgba(67, 24, 255, 0.08) !important;
    border: 1px solid rgba(67, 24, 255, 0.2) !important;
    color: var(--primary-color, #4318ff) !important;
    border-radius: 20px !important;
    padding: 2px 10px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin-top: 4px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--primary-color, #4318ff) !important;
    margin-right: 6px !important;
    border: 0 !important;
    font-weight: bold !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ef4444 !important;
    background: transparent !important;
}

/* Sticky Bottom Action Bar */
.sticky-bottom-action-bar {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 1020 !important;
}

.custom-option-row .custom-option-input {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 8px 14px !important;
    height: 100% !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    flex: 1 1 auto !important;
    outline: none !important;
}

.custom-option-row .btn-edit-save,
.custom-option-row .btn-add-confirm {
    border: 0 !important;
    border-radius: 0 !important;
    background-color: var(--primary-color, #4318ff) !important;
    color: #ffffff !important;
    padding: 0 16px !important;
    height: 100% !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s ease !important;
}

.custom-option-row .btn-edit-save:hover,
.custom-option-row .btn-add-confirm:hover {
    background-color: #3311db !important;
}

.custom-option-row .btn-edit-cancel,
.custom-option-row .btn-add-cancel {
    border: 0 !important;
    border-radius: 0 !important;
    border-left: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    color: #64748b !important;
    padding: 0 14px !important;
    height: 100% !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.custom-option-row .btn-edit-cancel:hover,
.custom-option-row .btn-add-cancel:hover {
    background-color: rgba(239, 68, 68, 0.08) !important;
    color: #ef4444 !important;
}

/* ==========================================================================
   OAuth Social Login & Registration Buttons
   ========================================================================== */
.btn-oauth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 18px;
    background: #ffffff;
    color: #1f2937;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.btn-oauth-google:hover {
    background: #f9fafb;
    border-color: rgba(67, 24, 255, 0.4);
    color: #111827;
    box-shadow: 0 6px 16px rgba(67, 24, 255, 0.12);
    transform: translateY(-1px);
}

.btn-oauth-google:active {
    transform: translateY(0);
}

.btn-oauth-google .google-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

/* Dark mode styling for Google OAuth */
html.dark-mode .btn-oauth-google {
    background: #192147;
    border-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

html.dark-mode .btn-oauth-google:hover {
    background: #222b59;
    border-color: rgba(117, 81, 255, 0.55);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(117, 81, 255, 0.25);
}

/* Auth Divider ("or sign in / up with email") */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 18px 0;
    color: var(--text-muted);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
    padding: 0 14px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

/* ==========================================================================
   Modern Split-Screen Auth Layout (No-Scroll 100vh)
   ========================================================================== */
body.auth-split-body {
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f8fafc;
    color: #475569;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.auth-split-layout {
    display: flex;
    height: 100vh;
    max-height: 100vh;
    width: 100%;
    background-color: #f8fafc;
    padding: 14px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Left Showcase Panel */
.auth-showcase-panel {
    flex: 1 1 50%;
    max-width: 50%;
    height: 100%;
    background: radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.45) 0%, transparent 45%),
                radial-gradient(circle at 15% 85%, rgba(30, 64, 175, 0.45) 0%, transparent 50%),
                linear-gradient(145deg, #1e3a8a 0%, #2563eb 45%, #38bdf8 100%);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(29, 78, 216, 0.3);
    box-sizing: border-box;
}

.auth-showcase-panel::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    top: -80px;
    right: -80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
}

.showcase-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.showcase-logo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.showcase-brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.showcase-brand-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.showcase-content {
    margin-top: auto;
    margin-bottom: 8px;
    z-index: 2;
}

.showcase-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.showcase-title {
    font-size: clamp(1.75rem, 2.5vw, 2.35rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    letter-spacing: -0.6px;
    margin-bottom: 10px;
}

.showcase-subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    max-width: 460px;
    margin-bottom: 22px;
    font-weight: 400;
}

/* Step Cards */
.showcase-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    z-index: 2;
}

.step-card {
    border-radius: 18px;
    padding: 15px 13px;
    min-height: 105px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.step-card.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 10px 24px -5px rgba(0, 0, 0, 0.12);
}

.step-card.glass {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.step-card.glass:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.step-num-pill {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
}

.step-card.active .step-num-pill {
    background: #1d4ed8;
    color: #ffffff;
}

.step-card.glass .step-num-pill {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.step-card-text {
    margin-top: 10px;
}

.step-card-title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 2px;
}

.step-card.active .step-card-title {
    color: #0f172a;
}

.step-card.glass .step-card-title {
    color: #ffffff;
}

.step-card-desc {
    font-size: 0.68rem;
    line-height: 1.3;
}

.step-card.active .step-card-desc {
    color: #64748b;
}

.step-card.glass .step-card-desc {
    color: rgba(255, 255, 255, 0.78);
}

/* Right Form Panel */
.auth-form-panel {
    flex: 1 1 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px 28px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-sizing: border-box;
}

.auth-form-panel::-webkit-scrollbar {
    display: none;
}

.auth-form-container {
    width: 100%;
    max-width: 410px;
    margin: auto;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 18px;
}

.auth-form-header h2 {
    font-size: 1.95rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.auth-form-header p {
    color: #94a3b8;
    font-size: 0.88rem;
    margin-bottom: 0;
    font-weight: 500;
}

.form-label-custom {
    font-size: 0.84rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 5px;
    display: block;
}

.form-control-pill {
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 15px;
    font-size: 0.92rem;
    color: #0f172a;
    transition: all 0.2s ease;
    box-shadow: none;
    width: 100%;
}

.form-control-pill:focus {
    background-color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
    color: #0f172a;
    outline: none;
}

.form-control-pill::placeholder {
    color: #94a3b8;
    opacity: 0.8;
    font-size: 0.88rem;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-control-pill {
    padding-right: 42px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #0f172a;
}

.btn-auth-continue {
    width: 100%;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
    margin-top: 4px;
    margin-bottom: 12px;
}

.btn-auth-continue:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-auth-continue:active {
    transform: translateY(0);
}

.auth-switch-text {
    text-align: center;
    font-size: 0.86rem;
    color: #94a3b8;
    margin-bottom: 12px;
    font-weight: 500;
}

.auth-switch-text a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 700;
}

.auth-switch-text a:hover {
    text-decoration: underline;
}

.auth-simple-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 12px 0;
    color: #94a3b8;
}

.auth-simple-divider::before,
.auth-simple-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-simple-divider span {
    padding: 0 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-google-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 10px 18px;
    background: #ffffff;
    color: #0f172a;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    cursor: pointer;
}

.btn-google-pill:hover {
    background: #f8fafc;
    border-color: rgba(37, 99, 235, 0.35);
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.btn-google-pill .google-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.auth-disclaimer {
    font-size: 0.74rem;
    line-height: 1.4;
    color: #94a3b8;
    text-align: center;
    margin-top: 14px;
    margin-bottom: 0;
    padding: 0 4px;
}

.auth-disclaimer span {
    color: #475569;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    body.auth-split-body {
        overflow: auto;
        height: auto;
        max-height: none;
    }

    .auth-split-layout {
        height: auto;
        max-height: none;
        padding: 16px;
    }

    .auth-showcase-panel {
        display: none;
    }

    .auth-form-panel {
        flex: 1 1 100%;
        padding: 24px 12px;
        height: auto;
    }
}
