@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    /* background-color: #73abcba8; */
    background: #F0F7FB;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 80px;
    background-color: #fff;
    z-index: 999;
}

.profile-name h4 {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 20px;
    line-height: 14px;
}

.admin-dropdown {
    position: absolute;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 184px;
    margin-top: 10px;
    padding: 10px;
    z-index: 100;
    top: 50px;
    right: 0;
}

.admin-dropdown .menu-item {
    padding: 8px 10px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.admin-dropdown .menu-item.logout {
    color: #DC2626;
}

.admin-dropdown .menu-item:hover {
    background: #f2f2f2;
}

.logo-gss img {
    width: 270px;
}

p {
    color: #6B7280;
}

.text-blue {
    color: #3DA2DA;
}

.text-red {
    color: #F13E3E;
}

.text-green {
    color: #2ECC71;
}

.bg-blue {
    background: #3DA2DA;
    color: white;
}

header nav .profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

header nav .profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.notification {
    position: relative;
    display: inline-block;
    margin-right: 25px;
}

.notification i {
    font-size: 24px;
    color: #333;
}

.notification .badge {
    position: absolute;
    top: -5px;
    right: -3px;
    background-color: red;
    color: white;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
}



.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-body {
    margin-top: 100px;
    padding: 80px 0;
}



/* Make the profile-section fixed/sticky */
.profile-section {
    position: sticky;
    top: 180px;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 12px;
}

.profil-card-image {
    width: 137px;
    height: 137px;
    border-radius: 50%;
    overflow: hidden;
}

.profil-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.profile-tab {
    background: #F3F4F6;
    border-radius: 8px;
}

.profile-tab .nav-link {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    display: flex;
    gap: 10px;
    color: #4B5563;
    margin-bottom: 12px;
    padding: 14px;
}

.profile-content .name h1 {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    color: #000000;
}

.profile-content .name p {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #656565;
}

.course-progrss-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0px 1px 2px 0px #0000000D;
    padding: 24px;
}

.course-progrss-card p {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #6B7280;

}

.course-progrss-card h4 {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    color: #000;
}

.learning h4 {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 0%;
    color: #000000;
}

.course-card {
    position: relative;
}

.course-card span.p {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FBBF24;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 10px;
    padding: 1px 8px;
    border-radius: 100px;
    color: white;
    text-transform: capitalize;
}

.course-card .p.s {
    background: #2ECC71;
}

.course-card img {
    height: 183px;
    width: 100%;
    border-radius: 12px 12px 0 0;
    object-fit: cover;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 11px;
    overflow: hidden;
}

.course-card .progress {
    background-color: #3DA2DA !important;
    border-radius: 0 !important;
}

.course-card .progress-bar {
    background-color: #E5E7EB !important;
}

.course-card .course-card-content {
    padding: 20px;
    background-color: white;
    border-radius: 0 0 12px 12px;
}

.course-card .course-card-content h4 {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
}

.course-card .course-card-content .course-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-card .course-card-content .course-card-footer span {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0%;
    color: #6B7280;
}

.course-card .course-card-content .course-card-footer img {
    width: 37px;
    height: 37px;
    object-fit: cover;
}

.course-card .course-card-content .course-card-footer a {
    color: #3EA3DC;
    font-family: Montserrat;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    text-decoration: underline;
    text-transform: capitalize;
}

tbody,
td,
tfoot,
th,
thead,
tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    border: 0 !important;
}

table tbody td.status {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
}

table tbody td.action a {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-decoration: none;
}

.invoice-container {
    background-color: #fff;
    padding: 20px 40px;
    margin-top: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 1026px) {
    .invoice-container {
        padding: 20px !important;
    }

    a.btn.btn-outline-primary.w-100 {
        font-size: 14px;
    }
}


/* support */
.support-card {
    padding: 25px;
    height: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 1px 2px 0px #0000000D;
}

.support-card h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    margin-bottom: 25px;
}

.support-card ul {
    padding: 0 !important;
}

.support-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.support-card ul li a {
    text-decoration: none;
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: #4B5563;
}

.support-card form button {
    background-color: #3DA2DA;
    color: white;
}


/* faq */

.faq-title {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
}

.accordion-item {
    background: linear-gradient(90deg, #F0F7FB 0%, rgba(240, 247, 251, 0) 100%);
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
    border: 0 !important;
    box-shadow: 0px 4px 0px 0px #00000008;
}

.accordion-header {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header span {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 16px;
    color: #111827;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 15px 20px;
    display: none;
    color: #000000;
    font-family: Montserrat;
    font-weight: 300;
    font-size: 14px;
}

.accordion-item.active .accordion-body {
    display: block;
}

/* logout modal */

.logout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.logout-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.logout-box {
    background-color: #fff;
    border-radius: 14px;
    padding: 40px;
    max-width: 640px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.logout-overlay.active .logout-box {
    transform: scale(1);
}

.logout-title {
    margin: 0 0 25px;
    font-family: Montserrat;
    font-weight: 600;
    font-size: 24px;

}

.logout-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    /* flex-wrap: wrap; */
}

.btn-cancel,
.btn-confirm {
    padding: 10px 25px;
    font-size: 15px;
    border-radius: 8px;
    border: 2px solid #dc3545;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel {
    background-color: white;
    color: #dc3545;
}

.btn-cancel:hover {
    background-color: #fbeaea;
}

.btn-confirm {
    background-color: #dc3545;
    color: white;
}

.btn-confirm:hover {
    background-color: #c82333;
}

a#openLogout {
    color: red;
}

.btn-close-logout {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 18px;
    color: #777;
    cursor: pointer;
}

.btn-close-logout:hover {
    color: #000;
}

/* Settings */
.set-sec .tit {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
    margin-bottom: 20px;
}

.settings-card {
    background: white;
    padding: 32px;
    border-radius: 8px;
}

.settings-card h4 {
    font-weight: 500;
    font-size: 18px;
    line-height: 18px;
}

.settings-card p {
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #4B5563;
}



.avatar-upload {
    position: relative;
    max-width: 120px;
    margin: 20px auto;
}

.avatar-edit {
    position: absolute;
    right: 10px;
    z-index: 1;
    bottom: 0px;
}

.avatar-edit input {
    display: none;
}


.avatar-edit label {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #4B5563;
    border-radius: 100%;
    cursor: pointer;
    font-weight: bold;
    color: white;
    text-align: center;
    line-height: 30px;
}

.avatar-preview {
    width: 100px;
    height: 100px;
    position: relative;
    border-radius: 100%;
    border: 2px solid #dcdcdc;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

#imagePreview {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-size: cover;
    background-position: center center;
    background-image: url('../img/new/pro.jpg');
}

.login-section {
     background-image: url('/front/assets/img/logo/log-in.jpg');
    /* Adjust path relative to CSS file */
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 130px;
}

@media (max-width: 768px){
    section.login-section {
        padding: 30px !important;
    }
}

.login-card {
    background: #FFFFFF;
    box-shadow: 0px 4px 6px 0px #0000001A;
    padding: 30px;
    border-radius: 12px;
    width: 480px;
}

.login-card .tab-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.login-card .tab-buttons button {
    flex: 1;
    border-radius: 6px;
    padding: 10px;
    border: none;
    background: #E5E7EB;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
}

.login-card .tab-buttons .active {
    background: #3498db !important;
    color: white;
}

.login-card .toggle-link {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

.login-card .toggle-link a {
    color: #3498db;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
}

.login-card .hidden {
    display: none;
}

/* ======== Footer ======== */

footer {
    background: #1F2937;
    color: white;
    padding: 50px 0;
}

.foot-logo-container p {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    color: #A1A1AA;
}

.foot.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.foot-logo-container {
    width: 40%;
}

.foot-link-container {
    display: flex;
    gap: 90px;
}

.foot-link-container h4 {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 18px;
    line-height: 18px;
    color: #FFFFFF;
}

.foot-link-container ul {
    list-style: none;
    padding: 0;
}

.socials ul {
    display: flex;
    gap: 20px;
}

.socials ul li a i {
    font-size: 18px;
    color: white;
    line-height: 36px;
}

.foot-link-container .links ul li a {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    line-height: 36px;
    color: #E5E7EB;
    text-decoration: none;
}

@media (max-width: 576px) {
    .foot-logo-container {
        width: 100%;
    }
}

/* =========== Corporate Dashboard =========== */

.btn-book {
    width: fit-content;
    display: flex;
    align-items: center;
    background-color: #3DA2DA;
    color: white;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    border-radius: 8px;
    gap: 10px;
}

.book-card {
    background-color: white;
    padding: 32px 24px;
    border-radius: 8px;
    box-shadow: 0px 1px 2px 0px #0000000D;
    margin-top: 20px;
}

.book-status-card {
    background: #F9FAFB;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-radius: 8px;
}

.book-status-card:last-child {
    margin-bottom: 0;
}

.book-status-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.book-status-left h5 {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    color: #1F2937;
}

.book-status-left p {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #4B5563;
    margin: 0;
}

.book-status-right p {
    color: #4B5563;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    margin: 0;
}

.white-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0px 1px 2px 0px #0000000D;
}

.grey-card {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 24px;
}

.book-price {
    display: flex;
    justify-content: space-between;
}

.book-price span {
    margin: 0;
    padding: 0;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
}

.stripe {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.stripe:hover {
    color: white;
    background-color: #3498db;
}

.learner-prof {
    display: flex;
    align-items: center;
    gap: 10px;
}

.learner-img {
    width: 32px;
    height: 32px;
    border-radius: 100%;
    overflow: hidden;
}

.learner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.learn-btns {
    display: flex;
    gap: 10px;
}

.learn-btns a {
    color: #4B5563 !important;
}

.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.inv tr td {
    line-height: 250%;
}

.admin-card-container {
    display: flex;
    align-items: center;
    padding: 30px 0;
    gap: 14px;
    flex-wrap: wrap;
}

.admin-card {
    background-color: white;
    padding: 25px;
    padding-right: 50px;
    border-radius: 8px;
    box-shadow: 0px 1px 2px 0px #0000000D;
}

.admin-card h2 {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 36px;
}

.add {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #3DA2DA;
    color: #3DA2DA;
    background-color: transparent;
    text-decoration: none;
    transition: all 0.3s;
}

.add:hover {
    background-color: #3DA2DA;
    color: white;
}

.prof-admn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}


/* admin-dashboard-tabs */

.main-tabs {
    display: flex;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 8px;
    width: fit-content;
    padding: 10px;
}

.main-tab {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    color: #4B5563;
    border-radius: 8px;
    background: transparent;
}

.main-tab.active {
    background: #3DA2DA;
    color: white;
}

.reseller-inner-tabs,
.individual-inner-tabs {
    margin-bottom: 15px;
    border-bottom: solid 0.8px #E5E7EB;
    width: fit-content;
}

.reseller-tab,
.individual-tab {
    border: none;
    cursor: pointer;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    padding: 10px 15px;
    background: transparent;
}

.reseller-tab-active,
.individual-tab-active {
    color: #3DA2DA;
    margin-bottom: -0.8px;
    border-bottom: solid 0.8px #3DA2DA;
}

.admin-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hidden {
    display: none;
}

.reseller-table-container {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.reseller-table-container table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.reseller-table-container th,
.reseller-table-container td {
    padding: 16px;
    text-align: left;
}

.reseller-table-container th {
    background-color: #fff;
    font-weight: bold;
}

.reseller-table-container tr:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.reseller-table-container a {
    color: #3DA2DA;
}

.reseller-status.pending {
    color: #FBBF24;
    font-weight: 500;
}

.reseller-status.approved {
    color: #2ECC71;
    font-weight: 500;
}

.reseller-status.rejected {
    color: #F13E3E;
    font-weight: 500;
}

.add-reseller h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.upload-group {
    border: 2px dashed #ccc;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    transition: border-color 0.3s;
}

.hidden-file {
    display: none;
}

.custom-file-upload {
    display: block;
    width: fit-content;
    padding: 10px 20px;
    color: #000;
    background-color: #F3F4F6;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.rbr li {
    margin-bottom: 10px;
}

.rbr .view {
    text-decoration: none;
    color: #3DA2DA;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mod-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.mod-rej {
    color: #EF4444;
    border: 1px #D1D5DB;
}

.mod-apr {
    background: #3DA2DA;
    color: white;
}

.reseller-card {
    background: #F0F7FB;
    padding: 20px;
    border-radius: 12px;
}

.reseller-card h5 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 16px;
}

.info-row span {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    color: #4B5563;
}

.divider {
    border-top: 1px solid #E5E7EB;
    margin: 8px 0;
}

.contact-section .contact-name {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 12px;
}

.contact-info {
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0;
    color: #4B5563;
}

.toggle-switch {
    width: 32px;
    height: 18px;
    background: #E5E7EB;
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

.toggle-switch .circle {
    width: 16px;
    height: 16px;
    background-color: #9CA3AF;
    border-radius: 50%;
    position: absolute;
    transition: all 0.3s;
}

.toggle-switch.active {
    background-color: #FBBF24;
}

.toggle-switch.active .circle {
    transform: translateX(15px);
    background-color: white;
}