/* BEM CSS Classes */

 :root {
    --vstep-blue: #1013B1;
    --vstep-light-blue: #e3f2fd;
    --vstep-text: #333333;
    --vstep-gray: #666666;
    --role-student: #e3f2fd;
    --role-working: #fff3e0;
    --role-teacher: #e8f5e9;
    --role-other: #fce4ec;
    --vstep-orange: #ff6600;
    --vstep-light-gray: #f8f9fa;
    --vstep-dark-blue: #0056d6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none!important;
}

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
}

.header__logo {
    font-size: 1.5rem;
    text-decoration: none;
    font-style: italic;
    font-family: "La Belle Aurore", cursive!important;
    color: #1151dd;
    font-weight: 400;
    line-height: normal;
}

.header__logo:hover {
    text-decoration: none;
    color: #0056b3;
}

.header__nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header__nav-item {
    margin: 0 1.5rem;
}

.header__nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.header__nav-link:hover {
    color: #007bff;
    text-decoration: none;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    /* Đẩy actions về bên phải */
}

.header__btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.header__btn--outline {
    color: #007bff;
    border-color: #007bff;
    background-color: transparent;
}

.header__btn--outline:hover {
    background-color: #007bff;
    color: white;
    text-decoration: none;
}

.header__btn--primary {
    background-color: #007bff;
    color: white;
}

.header__btn--primary:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
}

.header__btn--secondary {
    background-color: #6c757d;
    color: white;
}

.header__btn--secondary:hover {
    background-color: #545b62;
    color: white;
    text-decoration: none;
}

.header__lang-toggle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.header__lang-toggle:hover {
    background-color: #e9ecef;
}

.header__user-dropdown {
    position: relative;
}

.header__user-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-left: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.header__user-avatar img {
    border-radius: 50%;
}

.header__user-avatar:hover {
    background-color: #218838;
}

.header__dropdown-menu {
    position: absolute;
    top: 142%;
    right: 0;
    background-color: white;
    border-radius: 0.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.header__dropdown-menu--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--vstep-text);
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.header__dropdown-item:last-child {
    border-bottom: none;
}

.header__dropdown-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: var(--vstep-blue);
}

.header__dropdown-item i {
    margin-right: 0.75rem;
    width: 1rem;
}

.header__lang-dropdown {
    position: relative;
    margin-left: 15px;
}

.header__lang-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 145px;
}

.header__lang-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.header__lang-btn i {
    margin-right: 8px;
}

.header__lang-btn .current-lang {
    margin-right: 8px;
}

.header__lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 145px;
    display: none;
    z-index: 1000;
}

.header__lang-dropdown:hover .header__lang-menu {
    display: block;
}

.header__lang-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header__lang-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.header__lang-item.active {
    background-color: rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

.lang-flag {
    width: 20px;
    height: 15px;
    margin-right: 10px;
    object-fit: cover;
}


/* Footer Section */

footer {
    padding: 15px;
    color: #FFF;
    background-color: #424242;
    /* position: fixed; */
    width: 100%;
    /* bottom: 0; */
    /* z-index: 9999; */
}

footer .list-socials,
footer .copyright {
    padding: 10px 0;
}

footer .list-socials a img {
    border-radius: 50%;
}


/* Faq Page */

.faq-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.faq-card .card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
}

.faq-card .btn-link {
    color: #333;
    text-decoration: none;
    padding: 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-card .btn-link:hover {
    color: #007bff;
    background-color: #f8f9fa;
}

.faq-card .btn-link:focus {
    box-shadow: none;
}

.faq-card .card-body {
    padding: 1.5rem;
    background-color: #f8f9fa;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-card .btn-link[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-card .collapse.show+.card-body {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}


/* Hero Section */

.hero {
    padding: 4rem 0 6rem 0;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero__container {
    text-align: center;
}

.hero__title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero__description {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 500;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero__btn--primary {
    background-color: #007bff;
    color: white;
}

.hero__btn--primary:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.hero__btn--secondary {
    background-color: #e3f2fd;
    color: #1976d2;
}

.hero__btn--secondary:hover {
    background-color: #bbdefb;
    color: #1565c0;
    text-decoration: none;
    transform: translateY(-1px);
}

.hero__btn-label {
    font-size: 0.75rem;
    opacity: 0.8;
    display: block;
}

.hero__btn-text {
    font-size: 1rem;
    display: block;
}


/* Mobile Navigation Toggle */

.header__mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
}


/* Responsive Design */

@media (max-width: 991.98px) {
    .header__nav {
        display: none;
    }
    .header__mobile-toggle {
        display: block;
    }
    .hero__title {
        font-size: 2.5rem;
    }
    .hero__subtitle {
        font-size: 1.25rem;
    }
    .hero__description {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .header__actions {
        gap: 0.25rem;
    }
    .header__btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    .hero {
        padding: 3rem 0 4rem 0;
    }
    .hero__title {
        font-size: 2rem;
    }
    .hero__subtitle {
        font-size: 1.1rem;
    }
    .hero__description {
        font-size: 1rem;
    }
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    .hero__btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .header__container {
        flex-wrap: wrap;
        gap: 1rem;
        /* Giảm gap trên mobile */
    }
    .header__actions {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        margin-left: 0;
        /* Reset margin-left trên mobile */
    }
    .hero__title {
        font-size: 1.75rem;
    }
    .hero__btn {
        padding: 0.625rem 1.25rem;
    }
}


/* Login Page Styles */

.login-page {
    background-color: #1013B1;
    min-height: 100vh;
    /* Subtract header height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 480px;
    padding: 2.5rem;
}

.login-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.login-card__subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.login-card__social-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    font-weight: 500;
}

.login-card__social-btn:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: #333;
}

.login-card__social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card__social-icon--google {
    color: #DB4437;
}

.login-card__social-icon--facebook {
    color: #4267B2;
}

.login-card__social-text {
    flex-grow: 1;
    padding-left: 10px;
}

.login-card__divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #777;
    font-size: 0.875rem;
}

.login-card__divider-text {
    padding: 0 1rem;
}

.login-card__divider-line {
    flex-grow: 1;
    height: 1px;
    background-color: #e0e0e0;
}

.login-card__vstep-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    background-color: var(--vstep-light-blue);
    border: none;
    color: #1151DD;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.login-card__vstep-btn:hover {
    background-color: #bbdefb;
}

.login-card__vstep-logo {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    text-decoration: none;
    font-style: italic;
    font-family: "La Belle Aurore", cursive!important;
    color: #1151dd;
    font-weight: 400;
    line-height: normal;
}

.login-card__terms {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-card__terms-link {
    color: var(--vstep-blue);
    text-decoration: none;
}

.login-card__terms-link:hover {
    text-decoration: underline;
}

.login-card__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.login-card__login-btn {
    background-color: var(--vstep-light-blue);
    color: var(--vstep-blue);
    border: none;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.login-card__login-btn:hover {
    background-color: #bbdefb;
}


/* Responsive Design */

@media (max-width: 767.98px) {
    .login-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .login-card {
        padding: 1.25rem;
    }
    .login-card__title {
        font-size: 1.25rem;
    }
    .login-card__subtitle {
        font-size: 0.875rem;
    }
}


/* Email Step Page Styles */

.email-step {
    background-color: var(--vstep-blue);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.email-step__card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 480px;
    padding: 2.5rem;
}

.email-step__back {
    display: flex;
    align-items: center;
    color: var(--vstep-blue);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
    background-color: #CEDDFF;
    width: 20%;
    padding: 5px;
    border-radius: 5px;
}

.email-step__back:hover {
    color: var(--vstep-blue);
    text-decoration: none;
}

.email-step__back-icon {
    margin-right: 0.5rem;
    font-size: 0.75rem;
}

.email-step__title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.email-step__form {
    margin-bottom: 2rem;
}

.email-step__input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.email-step__input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.email-step__input:focus {
    outline: none;
    border-color: var(--vstep-blue);
    box-shadow: 0 0 0 3px rgba(26, 26, 170, 0.1);
}

.email-step__input::placeholder {
    color: #999;
}

.email-step__input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1rem;
}

.email-step__continue-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    background-color: var(--vstep-light-blue);
    border: none;
    color: var(--vstep-blue);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.email-step__continue-btn:hover:not(:disabled) {
    background-color: #bbdefb;
}

.email-step__continue-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.email-step__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--vstep-gray);
}

.email-step__login-btn {
    background-color: var(--vstep-light-blue);
    color: var(--vstep-blue);
    border: none;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.email-step__login-btn:hover {
    background-color: #bbdefb;
}


/* Responsive Design */

@media (max-width: 767.98px) {
    .email-step__card {
        padding: 1.5rem;
    }
    .email-step__title {
        font-size: 1.125rem;
    }
}

@media (max-width: 575.98px) {
    .email-step__card {
        padding: 1.25rem;
    }
    .email-step__input {
        padding: 0.625rem 0.875rem 0.625rem 2.25rem;
    }
    .email-step__input-icon {
        left: 0.625rem;
    }
}


/* Form validation styles */

.email-step__input--valid {
    border-color: #28a745;
}

.email-step__input--invalid {
    border-color: #dc3545;
}

.email-step__continue-btn--active {
    background-color: var(--vstep-blue);
    color: white;
}

.email-step__continue-btn--active:hover {
    background-color: #0056b3;
}


/* Role Selection Page Styles */

.role-selection {
    background-color: var(--vstep-blue);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    display: none;
}

.role-selection__card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    padding: 2.5rem;
}

.role-selection__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.role-selection__options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.role-option {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    height: 150px;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 1rem;
}

.role-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.role-option--student {
    background-color: var(--role-student);
}

.role-option--working {
    background-color: var(--role-working);
}

.role-option--teacher {
    background-color: var(--role-teacher);
}

.role-option--other {
    background-color: var(--role-other);
}

.role-option__icon {
    width: 60px;
    height: 60px;
    background-color: #0099cc;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.role-option__icon i {
    color: white;
    font-size: 1.5rem;
}

.role-option__label {
    font-weight: 500;
    text-align: center;
}

.role-option__radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.role-option__radio:checked+.role-option {
    border: 2px solid var(--vstep-blue);
    box-shadow: 0 0 0 3px rgba(26, 26, 170, 0.2);
}

.role-option__check {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: var(--vstep-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.role-option--selected .role-option__check {
    opacity: 1;
}

.role-selection__actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.role-selection__continue-btn {
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    background-color: var(--vstep-blue);
    border: none;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: none;
}

.role-selection__continue-btn:hover {
    background-color: #0056b3;
}

.role-selection__continue-btn--visible {
    display: block;
}


/* Responsive Design */

@media (max-width: 767.98px) {
    .role-selection__card {
        padding: 1.5rem;
    }
    .role-selection__title {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
    .role-option {
        height: 130px;
        min-width: 120px;
    }
    .role-option__icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 575.98px) {
    .role-selection__card {
        padding: 1.25rem;
    }
    .role-selection__options {
        flex-direction: column;
        align-items: center;
    }
    .role-option {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 1.25rem;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }
    .role-option__icon {
        margin-bottom: 0;
        width: 40px;
        height: 40px;
    }
    .role-option__icon i {
        font-size: 1.25rem;
    }
}


/* Signup Form Page Styles */

.signup-form {
    background-color: var(--vstep-blue);
    min-height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.signup-form__card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 480px;
    padding: 2.5rem;
}

.signup-form__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.signup-form__subtitle {
    font-size: 1rem;
    color: var(--vstep-gray);
    margin-bottom: 1.5rem;
}

.signup-form__form {
    margin-bottom: 2rem;
}

.signup-form__input-group {
    margin-bottom: 1rem;
}

.signup-form__input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.signup-form__input:focus {
    outline: none;
    border-color: var(--vstep-blue);
    box-shadow: 0 0 0 3px rgba(26, 26, 170, 0.1);
}

.signup-form__input::placeholder {
    color: #999;
}

.signup-form__input--error {
    border-color: #dc3545;
}

.signup-form__input--success {
    border-color: #28a745;
}

.signup-form__password-wrapper {
    position: relative;
}

.signup-form__password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.signup-form__password-toggle:hover {
    color: var(--vstep-blue);
}

.signup-form__error-message {
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
    display: none;
}

.signup-form__error-message--visible {
    display: block;
}

.signup-form__signup-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    background-color: var(--vstep-light-blue);
    border: none;
    color: var(--vstep-blue);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.signup-form__signup-btn:hover:not(:disabled) {
    background-color: #bbdefb;
}

.signup-form__signup-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.signup-form__signup-btn--active {
    background-color: var(--vstep-blue);
    color: white;
}

.signup-form__signup-btn--active:hover {
    background-color: #0056b3;
}

.signup-form__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--vstep-gray);
}

.signup-form__login-btn {
    background-color: var(--vstep-light-blue);
    color: var(--vstep-blue);
    border: none;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.signup-form__login-btn:hover {
    background-color: #bbdefb;
}


/* Password strength indicator */

.signup-form__password-strength {
    margin-top: 0.5rem;
    display: none;
}

.signup-form__password-strength--visible {
    display: block;
}

.signup-form__strength-bar {
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.signup-form__strength-fill {
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
    width: 0%;
}

.signup-form__strength-fill--weak {
    background-color: #dc3545;
    width: 33%;
}

.signup-form__strength-fill--medium {
    background-color: #ffc107;
    width: 66%;
}

.signup-form__strength-fill--strong {
    background-color: #28a745;
    width: 100%;
}

.signup-form__strength-text {
    font-size: 0.75rem;
    color: var(--vstep-gray);
}


/* Responsive Design */

@media (max-width: 767.98px) {
    .signup-form__card {
        padding: 1.5rem;
    }
    .signup-form__title {
        font-size: 1.25rem;
    }
    .signup-form__subtitle {
        font-size: 0.875rem;
    }
}

@media (max-width: 575.98px) {
    .signup-form__card {
        padding: 1.25rem;
    }
    .signup-form__input {
        padding: 0.625rem 0.875rem;
    }
}


/* Signin Page Styles */

.signin-page {
    background-color: var(--vstep-blue);
    min-height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.signin-page__card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 480px;
    padding: 2.5rem;
}

.signin-page__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.signin-page__subtitle {
    font-size: 1rem;
    color: var(--vstep-gray);
    margin-bottom: 1.5rem;
}

.signin-page__form {
    margin-bottom: 2rem;
}

.signin-page__input-group {
    margin-bottom: 1rem;
}

.signin-page__input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.signin-page__input:focus {
    outline: none;
    border-color: var(--vstep-blue);
    box-shadow: 0 0 0 3px rgba(26, 26, 170, 0.1);
}

.signin-page__input::placeholder {
    color: #999;
}

.signin-page__input--error {
    border-color: #dc3545;
}

.signin-page__input--success {
    border-color: #28a745;
}

.signin-page__password-wrapper {
    position: relative;
}

.signin-page__password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.signin-page__password-toggle:hover {
    color: var(--vstep-blue);
}

.signin-page__captcha-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.signin-page__captcha-image {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-family: 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #333;
    text-decoration: line-through;
    position: relative;
    min-width: 120px;
    text-align: center;
    background-image: linear-gradient(45deg, transparent 40%, rgba(0, 0, 0, 0.1) 50%, transparent 60%), linear-gradient(-45deg, transparent 40%, rgba(0, 0, 0, 0.1) 50%, transparent 60%);
}

.signin-page__captcha-refresh {
    background: none;
    border: none;
    color: var(--vstep-blue);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.signin-page__captcha-refresh:hover {
    color: #0056b3;
}

.signin-page__error-message {
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
    display: none;
}

.signin-page__error-message--visible {
    display: block;
}

.signin-page__login-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    background-color: var(--vstep-light-blue);
    border: none;
    color: var(--vstep-blue);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.signin-page__login-btn:hover:not(:disabled) {
    background-color: #bbdefb;
}

.signin-page__login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.signin-page__login-btn--active {
    background-color: var(--vstep-blue);
    color: white;
}

.signin-page__login-btn--active:hover {
    background-color: #0056b3;
}

.signin-page__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--vstep-gray);
}

.signin-page__signup-btn {
    background-color: var(--vstep-light-blue);
    color: var(--vstep-blue);
    border: none;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.signin-page__signup-btn:hover {
    background-color: #bbdefb;
}


/* Responsive Design */

@media (max-width: 767.98px) {
    .signin-page__card {
        padding: 1.5rem;
    }
    .signin-page__title {
        font-size: 1.25rem;
    }
    .signin-page__subtitle {
        font-size: 0.875rem;
    }
    .signin-page__captcha-group {
        flex-direction: column;
        align-items: stretch;
    }
    .signin-page__captcha-image {
        min-width: auto;
    }
}

@media (max-width: 575.98px) {
    .signin-page__card {
        padding: 1.25rem;
    }
    .signin-page__input {
        padding: 0.625rem 0.875rem;
    }
}


/* Dashboard Layout */

.dashboard {
    display: flex;
    min-height: calc(100vh - 72px);
}

.dashboard__main {
    flex: 1;
    padding: 0;
}

.dashboard__sidebar {
    width: 280px;
    background-color: #ffffff;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.sidebar__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar__menu-item {
    margin-bottom: 0.5rem;
}

.sidebar__menu-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--vstep-text);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
}

.sidebar__menu-link:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: var(--vstep-blue);
}

.sidebar__menu-icon {
    margin-right: 0.75rem;
    width: 1.25rem;
}


/* Test Section Styles */

.test-section {
    padding: 3rem 0;
}

.test-section--main {
    background-color: var(--vstep-blue);
    color: white;
}

.test-section--normal {
    background-color: #ffffff;
}

.test-section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.test-section__title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.test-section__subtitle {
    font-size: 1.125rem;
    opacity: 0.8;
}


/* Update test-cards for Bootstrap carousel */

.test-cards {
    /* display: flex; */
    gap: 2rem;
    padding: 0 1rem;
    /* flex-wrap: wrap; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}


/* Carousel controls styling */

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    color: black;
}

.carousel-control-next {
    right: -10%;
}

.carousel-control-prev {
    left: -10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #D9D9D9;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: white;
    transform: scale(1.1);
}

.carousel-control-prev-icon::before {
    content: '\f104';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #333;
    font-size: 1rem;
}

.carousel-control-next-icon::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #333;
    font-size: 1rem;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators li {
    background-color: rgba(0, 0, 0, 0.3);
}

.carousel-indicators .active {
    background-color: var(--vstep-blue);
}


/* Remove old carousel styles */

.carousel-nav {
    display: none;
}

.test-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    min-width: 300px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.test-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--vstep-text);
    padding: 10px 0;
}

.test-card__stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.test-card__joined {
    color: var(--vstep-gray);
    font-size: 0.875rem;
}

.test-card__price {
    font-weight: 600;
    color: var(--vstep-text);
}

.test-card__price--free {
    color: #28a745;
}

.test-card__price--discount {
    color: #dc3545;
}

.test-card__price-original {
    text-decoration: line-through;
    color: var(--vstep-gray);
    font-size: 0.875rem;
    margin-left: 0.5rem;
}


/* Carousel controls styling */

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators li {
    background-color: rgba(0, 0, 0, 0.3);
}

.carousel-indicators .active {
    background-color: var(--vstep-blue);
}


/* Remove old carousel styles */

.carousel-nav {
    display: none;
}


/* Responsive Design */

@media (max-width: 991.98px) {
    .dashboard__sidebar {
        display: none;
    }
    .test-section__title {
        font-size: 1.5rem;
    }
    .test-cards {
        gap: 1rem;
    }
    .test-card {
        min-width: 250px;
    }
}

@media (max-width: 767.98px) {
    .test-section {
        padding: 2rem 0;
    }
    .test-section__header {
        margin-bottom: 2rem;
    }
    .test-card {
        min-width: 200px;
        padding: 1.5rem;
    }
    .carousel-nav {
        display: none;
    }
    .test-cards {
        flex-direction: column;
        align-items: center;
    }
    .test-card {
        width: 100%;
        max-width: 300px;
    }
}


/* Hero Section */

.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero__text {
    flex: 1;
}

.hero__badge {
    background-color: var(--vstep-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    display: inline-block;
    margin-bottom: 1rem;
    transform: rotate(-2deg);
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--vstep-blue);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero__feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.hero__feature-icon {
    color: var(--vstep-orange);
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.hero__carousel {
    flex: 3;
}

.hero__carousel .carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
}

.hero__carousel .carousel-control-prev,
.hero__carousel .carousel-control-next {
    width: 5%;
}

.hero__carousel .carousel-control-prev-icon,
.hero__carousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
}

.hero__carousel .carousel-indicators {
    bottom: 10px;
}

.hero__carousel .carousel-indicators li {
    background-color: rgba(255, 255, 255, 0.5);
}

.hero__carousel .carousel-indicators .active {
    background-color: var(--vstep-orange);
}


/* Practice Section */

.practice {
    padding: 4rem 0;
    background-color: var(--vstep-light-gray);
}

.practice__header {
    text-align: center;
    margin-bottom: 3rem;
}

.practice__title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--vstep-text);
    margin-bottom: 1rem;
}

.practice__cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.practice-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    flex: 1;
    max-width: 300px;
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.practice-card__image {
    width: 100%;
    height: 150px;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

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

.practice-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--vstep-text);
    margin-bottom: 0.5rem;
    text-decoration: none!important;
}

.practice-card__subtitle {
    color: var(--vstep-gray);
    font-size: 0.875rem;
}


/* News Section */

.news {
    padding: 4rem 0;
    background-color: white;
}

.news__header {
    text-align: center;
    margin-bottom: 3rem;
}

.news__title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--vstep-text);
    margin-bottom: 1rem;
}

.news__cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.news-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    flex: 1;
    max-width: 300px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.news-card__content {
    padding: 1.5rem;
}

.news-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--vstep-text);
    margin-bottom: 0.5rem;
    text-decoration: none!important;
}

.news-card__excerpt {
    color: var(--vstep-gray);
    font-size: 0.875rem;
    line-height: 1.5;
}


/* More Button */

.more-section {
    text-align: center;
    padding: 2rem 0;
}

.more-btn {
    background-color: var(--vstep-blue);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.more-btn:hover {
    background-color: #0056b3;
    text-decoration: none;
    color: white;
}


/* Responsive Design */

@media (max-width: 991.98px) {
    .header__nav {
        display: none;
    }
    .hero__content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .hero__title {
        font-size: 2rem;
    }
    .practice__cards,
    .news__cards {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 2rem 0;
    }
    .hero__title {
        font-size: 1.75rem;
    }
    .hero__carousel .carousel-item img {
        height: 250px;
    }
    .practice,
    .news {
        padding: 2rem 0;
    }
    .practice__title,
    .news__title {
        font-size: 1.5rem;
    }
    .practice-card__image {
        height: 120px;
    }
    .news-card__image {
        height: 150px;
    }
}


/* Breadcrumb Component */

.breadcrumb-section {
    background: #4a6cf7;
    padding: 20px 40px;
    color: white;
}

.breadcrumb-section__nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.breadcrumb-section__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-section__link:hover {
    color: white;
    text-decoration: none;
}

.breadcrumb-section__separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-section__current {
    color: white;
}


/* Hero Section */

.join-section {
    background: #4a6cf7;
    padding: 0 40px 40px;
    color: white;
}

.join-section__content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.join-section__info {
    position: relative;
}

.join-section__title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    margin: 10px 0;
}

.join-section__description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.join-section__stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.join-section__rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.join-section__stars {
    display: flex;
    gap: 2px;
}

.join-section__star {
    color: #ffc107;
    font-size: 1rem;
}

.join-section__star--empty {
    color: rgba(255, 255, 255, 0.3);
}

.join-section__rating-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.join-section__joined {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.join-section__updated {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}


/* Captcha Card */

.captcha-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.captcha-card__image {
    width: 100%;
    height: 60px;
    background: #e9ecef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: #495057;
    letter-spacing: 3px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 60"><defs><pattern id="noise" width="4" height="4" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.5" fill="%23999" opacity="0.3"/></pattern></defs><rect width="300" height="60" fill="%23f0f0f0"/><rect width="300" height="60" fill="url(%23noise)"/></svg>');
}

.captcha-card__input {
    width: 100%;
    padding: 12px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.captcha-card__input:focus {
    outline: none;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.captcha-card__input::placeholder {
    color: #6c757d;
}

.captcha-card__buttons {
    display: flex;
    gap: 10px;
}

.captcha-card__button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.card__button--free {
    background: #dc3545;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    bottom: 0;
    right: 0;
}

.card_price--discount {
    text-decoration: line-through;
}

.captcha-card__button--free:hover {
    background: #c82333;
}

.captcha-card__button--enter {
    background: #CEDDFF;
    color: black;
    text-decoration: none!important;
    text-align: center;
}

.captcha-card__button--enter:hover {
    background: #5a6268;
    color: #fff;
}


/* Main Content */

.main-content {
    padding: 10px 0;
}

.main-content__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}


/* Test Skills Section */

.test-skills {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.test-skills__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.test-skills__skill {
    margin-bottom: 25px;
}

.test-skills__skill:last-child {
    margin-bottom: 0;
}

.test-skills__skill-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.test-skills__skill-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.test-skills__detail {
    font-size: 0.9rem;
    color: #6c757d;
}


/* Device Check Section */

.device-check {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.device-check__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.device-check__item {
    margin-bottom: 25px;
}

.device-check__item:last-child {
    margin-bottom: 0;
}

.device-check__item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}


/* Audio Player */

.audio-player {
    background: #f8f9fa;
    border-radius: 25px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.audio-player__button {
    width: 40px;
    height: 40px;
    background: #28a745;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
}

.audio-player__button:hover {
    background: #218838;
}

.audio-player__time {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #495057;
}

.audio-player__progress {
    flex: 1;
    height: 4px;
    background: #dee2e6;
    border-radius: 2px;
    position: relative;
}

.audio-player__progress-bar {
    height: 100%;
    background: #007bff;
    border-radius: 2px;
    width: 0%;
}

.audio-player__volume {
    width: 30px;
    height: 30px;
    background: #6c757d;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 0.8rem;
}


/* Microphone Controls */

.mic-controls {
    display: flex;
    gap: 10px;
}

.mic-controls__button {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mic-controls__button--record {
    background: #4a6cf7;
    color: white;
}

.mic-controls__button--record:hover {
    background: #3b5ce6;
}

.mic-controls__button--listen {
    background: #4a6cf7;
    color: white;
}

.mic-controls__button--listen:hover {
    background: #3b5ce6;
}


/* Camera Section */

.camera-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.camera-section__preview {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
}

.camera-section__button {
    padding: 10px 16px;
    background: #4a6cf7;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.camera-section__button:hover {
    background: #3b5ce6;
}


/* Notes Section */

.notes-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.notes-section__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notes-section__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notes-section__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #495057;
}

.notes-section__item:last-child {
    margin-bottom: 0;
}

.notes-section__bullet {
    width: 6px;
    height: 6px;
    background: #4a6cf7;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}


/* Responsive Design */

@media (max-width: 1199px) {
    .breadcrumb-section,
    .join-section,
    .main-content {
        padding-left: 30px;
        padding-right: 30px;
    }
    .main-content__grid {
        gap: 25px;
    }
}

@media (max-width: 991px) {
    .join-section__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .main-content__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .breadcrumb-section,
    .join-section,
    .main-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    .join-section__title {
        font-size: 1.6rem;
    }
    .captcha-card__buttons {
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .join-section__stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .camera-section {
        flex-direction: column;
        text-align: center;
    }
    .mic-controls {
        flex-direction: column;
    }
}


/* Header Styles */

.payment-header {
    background-color: var(--vstep-blue);
    color: white;
    padding: 1.5rem 0;
}

.payment-header__container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-header__nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.payment-header__back-icon {
    font-size: 1.25rem;
}

.payment-header__text {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.payment-header__btn {
    background-color: white;
    color: var(--vstep-blue);
    border: none;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease;
}

.payment-header__btn:hover {
    background-color: #f0f0f0;
}


/* Main Content Styles */

.payment-content {
    padding: 3rem 0;
}

.payment-content__header {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-content__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--vstep-text);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.payment-content__subtitle {
    font-size: 1rem;
    color: var(--vstep-gray);
}


/* Pricing Cards */

.pricing-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card__header {
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--vstep-text);
    margin-bottom: 0.5rem;
}

.pricing-card__subtitle {
    font-size: 0.875rem;
    color: var(--vstep-gray);
}

.pricing-card__price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-card__current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--vstep-text);
    margin-right: 0.5rem;
}

.pricing-card__original-price {
    font-size: 1rem;
    color: var(--vstep-gray);
    text-decoration: line-through;
}

.pricing-card__btn {
    background-color: var(--vstep-blue);
    color: white;
    border: none;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    width: 100%;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
    text-align: center;
    text-decoration: none!important;
    display: block;
}

.pricing-card__btn:hover {
    background-color: var(--vstep-dark-blue);
    color: black;
}

.pricing-card__features-title {
    font-size: 0.875rem;
    color: var(--vstep-gray);
    margin-bottom: 0.75rem;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-card__feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.pricing-card__feature-icon {
    color: var(--vstep-blue);
    margin-right: 0.5rem;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}


/* Responsive Design */

@media (max-width: 991.98px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    .pricing-card {
        max-width: 400px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .payment-header {
        padding: 1rem 0;
    }
    .payment-content {
        padding: 2rem 0;
    }
    .payment-content__title {
        font-size: 1.5rem;
    }
    .pricing-card {
        padding: 1rem;
    }
}


/* Profile Section */

.profile {
    padding: 2rem 0;
}

.profile__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.profile__title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--vstep-text);
}

.profile__vip-status {
    font-size: 0.875rem;
    color: var(--vstep-gray);
}

.profile__upgrade-link {
    color: var(--vstep-blue);
    text-decoration: none;
    margin-left: 0.5rem;
}

.profile__content {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile__info {
    flex: 2;
}

.profile__form {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.profile__avatar {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile__fields {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.profile__field {
    display: flex;
    flex-direction: column;
}

.profile__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--vstep-text);
    margin-bottom: 0.5rem;
}

.profile__input {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--vstep-border);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    border: 2px solid #eee;
}

.profile__select {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--vstep-border);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background-color: white;
    border: 2px solid #eee;
}

.profile__change-btn {
    background-color: var(--vstep-blue);
    color: white;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    margin-top: 1rem;
    align-self: flex-start;
}

.profile__points {
    flex: 1;
    background-color: #f5e6d3;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.profile__points-icon {
    font-size: 2rem;
    color: #d4a574;
    margin-bottom: 0.5rem;
}

.profile__points-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--vstep-text);
    margin-bottom: 0.5rem;
}

.profile__points-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vstep-text);
}


/* Tabs Section */

.profile-tabs {
    border-bottom: 1px solid var(--vstep-border);
    margin-bottom: 1.5rem;
}

.profile-tabs__nav {
    display: flex;
    gap: 2rem;
}

.profile-tabs__tab {
    padding: 1rem 0;
    color: var(--vstep-gray);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.profile-tabs__tab--active {
    color: var(--vstep-text);
    border-bottom-color: var(--vstep-blue);
}

.profile-tabs__tab:hover {
    text-decoration: none;
    color: var(--vstep-text);
}


/* Table Styles */

.data-table {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.data-table__table {
    width: 100%;
    margin-bottom: 0;
}

.data-table__header {
    background-color: #c5d0ff;
    color: var(--vstep-text);
}

.data-table__header th {
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    text-align: center;
}

.data-table__row {
    border-bottom: 1px solid var(--vstep-border);
}

.data-table__row:last-child {
    border-bottom: none;
}

.data-table__cell {
    padding: 0.75rem;
    font-size: 0.875rem;
    text-align: center;
    vertical-align: middle;
}

.data-table__actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.data-table__action-btn {
    background: none;
    border: none;
    color: var(--vstep-gray);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.data-table__action-btn:hover {
    color: var(--vstep-blue);
}


/* Pagination */

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination__btn {
    background: none;
    border: 1px solid var(--vstep-border);
    color: var(--vstep-text);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination__btn:hover {
    background-color: var(--vstep-light-gray);
}

.pagination__btn--active {
    background-color: var(--vstep-blue);
    color: white;
    border-color: var(--vstep-blue);
}

.pagination__select {
    border: 1px solid var(--vstep-border);
    border-radius: 0.375rem;
    padding: 0.5rem;
    margin-left: 1rem;
}


/* Responsive Design */

@media (max-width: 991.98px) {
    .profile__content {
        flex-direction: column;
    }
    .profile__fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .profile__form {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .profile__fields {
        width: 100%;
    }
    .data-table {
        font-size: 0.75rem;
    }
    .data-table__header th,
    .data-table__cell {
        padding: 0.5rem 0.25rem;
    }
}


/* News List page */

.header_news_title {
    color: #fff;
    margin: 0;
    font-weight: 600;
    background-color: var(--vstep-blue);
    padding: 20px 0;
    margin-bottom: 30px;
}

.news-list {
    margin-bottom: 40px;
    margin-top: 20px;
}

.news-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item--featured {
    border-left: 4px solid var(--primary-color);
}

.news-item__image-container {
    height: 200px;
    overflow: hidden;
}

.news-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item__image {
    transform: scale(1.05);
}

.news-item__content {
    padding: 20px;
}

.news-item__category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.news-item__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-item__title a {
    color: var(--dark-color);
    text-decoration: none;
}

.news-item__title a:hover {
    color: var(--primary-color);
}

.news-item__description {
    color: var(--secondary-color);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-item__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--secondary-color);
}

.news-item__date {
    display: flex;
    align-items: center;
}

.news-item__date i {
    margin-right: 5px;
}

.news-item__author {
    display: flex;
    align-items: center;
}

.news-item__author i {
    margin-right: 5px;
}


/* Pagination */

.pagination-block {
    margin: 40px 0;
}

.pagination-block__list {
    justify-content: center;
}

.pagination-block__item .page-link {
    color: var(--dark-color);
    border-radius: 4px;
    margin: 0 3px;
}

.pagination-block__item--active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination-block__item .page-link:hover {
    background-color: #e9ecef;
    color: var(--primary-color);
}


/* Footer */

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
    margin-top: 40px;
}

.footer__content {
    text-align: center;
}

.footer__text {
    margin-bottom: 0;
}


/* Responsive */

@media (max-width: 767.98px) {
    .news-item__image-container {
        height: 180px;
    }
    .news-item__title {
        font-size: 16px;
    }
    .news-item__description {
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .header__title {
        font-size: 24px;
    }
    .news-item__meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .news-item__author {
        margin-top: 5px;
    }
}


/* Breadcrumb */

.breadcrumb-block {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
    margin-top: 20px;
}

.breadcrumb-block__item {
    font-size: 14px;
}

.breadcrumb-block__item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb-block__item a:hover {
    color: var(--primary-color);
}

.breadcrumb-block__item.active {
    color: var(--primary-color);
}


/* Article Detail */

.article {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.article__header {
    padding: 25px 30px 0;
}

.article__category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-decoration: none;
}

.article__category:hover {
    background-color: #0069d9;
    color: white;
    text-decoration: none;
}

.article__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article__meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article__author {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.article__author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.article__author-name {
    font-weight: 600;
    color: var(--dark-color);
}

.article__date {
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    font-size: 14px;
}

.article__date i {
    margin-right: 5px;
}

.article__featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.article__content {
    padding: 30px;
}

.article__text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article__text p {
    margin-bottom: 20px;
}

.article__text h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px;
}

.article__text h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px;
}

.article__text img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

.article__text blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 10px 20px;
    margin: 20px 0;
    background-color: #f8f9fa;
    font-style: italic;
}

.article__tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article__tags-title {
    font-weight: 600;
    margin-right: 10px;
    color: var(--dark-color);
}

.article__tag {
    display: inline-block;
    background-color: #f1f1f1;
    color: var(--secondary-color);
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 8px;
    margin-bottom: 8px;
    text-decoration: none;
}

.article__tag:hover {
    background-color: #e9ecef;
    color: var(--primary-color);
    text-decoration: none;
}


/* Share Buttons */

.share-block {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.share-block__title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.share-block__buttons {
    display: flex;
    gap: 10px;
}

.share-block__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-block__button:hover {
    transform: translateY(-3px);
    color: white;
}

.share-block__button--facebook {
    background-color: #3b5998;
}

.share-block__button--twitter {
    background-color: #1da1f2;
}

.share-block__button--linkedin {
    background-color: #0077b5;
}

.share-block__button--pinterest {
    background-color: #bd081c;
}


/* Related Articles */

.related-articles {
    margin-bottom: 40px;
}

.related-articles__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.related-articles__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.related-article {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.related-article:hover {
    transform: translateY(-5px);
}

.related-article__image-container {
    height: 180px;
    overflow: hidden;
}

.related-article__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article:hover .related-article__image {
    transform: scale(1.05);
}

.related-article__content {
    padding: 15px;
}

.related-article__category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.related-article__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-article__title a {
    color: var(--dark-color);
    text-decoration: none;
}

.related-article__title a:hover {
    color: var(--primary-color);
}

.related-article__date {
    font-size: 12px;
    color: var(--secondary-color);
}


/* Most Viewed Articles */

.most-viewed {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.most-viewed__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.most-viewed__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.most-viewed-article {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.most-viewed-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.most-viewed-article__image-container {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.most-viewed-article__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.most-viewed-article__content {
    flex-grow: 1;
}

.most-viewed-article__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.most-viewed-article__title a {
    color: var(--dark-color);
    text-decoration: none;
}

.most-viewed-article__title a:hover {
    color: var(--primary-color);
}

.most-viewed-article__date {
    font-size: 12px;
    color: var(--secondary-color);
}

.most-viewed-article__views {
    font-size: 12px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.most-viewed-article__views i {
    margin-right: 5px;
    font-size: 14px;
}


/* Responsive */

@media (max-width: 991.98px) {
    .article__title {
        font-size: 28px;
    }
    .article__content {
        padding: 25px;
    }
}

@media (max-width: 767.98px) {
    .article__title {
        font-size: 24px;
    }
    .article__header {
        padding: 20px 20px 0;
    }
    .article__content {
        padding: 20px;
    }
    .article__text {
        font-size: 15px;
    }
    .related-article__image-container {
        height: 160px;
    }
}

@media (max-width: 575.98px) {
    .article__title {
        font-size: 22px;
    }
    .article__meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .article__author {
        margin-bottom: 10px;
    }
    .article__text h2 {
        font-size: 20px;
    }
    .article__text h3 {
        font-size: 18px;
    }
    .related-articles__title,
    .most-viewed__title,
    .comments__title {
        font-size: 18px;
    }
}


/* Header Component */

.sm-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sm-header__content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    padding: 20px 40px;
    position: relative;
}

.sm-header__logo {
    font-size: 1.5rem;
    text-decoration: none;
    font-style: italic;
    font-family: "La Belle Aurore", cursive !important;
    color: #1151dd;
    font-weight: 400;
    line-height: normal;
    justify-self: start;
}

.sm-header__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    justify-self: center;
}

.sm-header__back {
    justify-self: end;
}

.sm-header__back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    color: #4a6cf7;
    border: 2px solid #4a6cf7;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sm-header__back-button:hover {
    background: #4a6cf7;
    color: white;
    text-decoration: none;
}

.sm-header__back-icon {
    font-size: 0.9rem;
}


/* Main Content */

.payment-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.payment-main__container {
    max-width: 600px;
    width: 100%;
    text-align: center;
}


/* Payment Card */

.payment-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}


/* Test ID Section */

.test-id {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.test-id__label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.test-id__value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    margin: 0;
}


/* QR Code Section */

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.qr-section__code {
    width: 250px;
    height: 250px;
    background: white;
    border: 8px solid #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.qr-section__image {
    width: 100%;
    height: 100%;
    background: url('https://qr.sepay.vn/img?acc=254219746&bank=VPBANK&amount=2000&des=ORD2422632412&template=TEMPLATE&download=DOWNLOAD') center/cover;
    border-radius: 4px;
}

.qr-section__instruction {
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
    max-width: 500px;
    margin: 0;
    text-align: center;
}


/* Loading Animation */

.qr-section__loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.qr-section__spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4a6cf7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Status Section */

.payment-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.payment-status__indicator {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: #ffc107;
    animation: pulse 2s infinite;
}

.payment-status__indicator--success {
    background: #28a745;
    animation: none;
}

.payment-status__indicator--error {
    background: #dc3545;
    animation: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.payment-status__text {
    font-size: 1rem;
    font-weight: 500;
    color: #495057;
    margin: 0;
}

.payment-status__text--success {
    color: #28a745;
}

.payment-status__text--error {
    color: #dc3545;
}


/* Action Buttons */

.payment-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.payment-actions__button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.payment-actions__button--primary {
    background: #4a6cf7;
    color: white;
}

.payment-actions__button--primary:hover {
    background: #3b5ce6;
    color: white;
    text-decoration: none;
}

.payment-actions__button--secondary {
    background: #6c757d;
    color: white;
}

.payment-actions__button--secondary:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

.payment-actions__button--success {
    background: #28a745;
    color: white;
}

.payment-actions__button--success:hover {
    background: #218838;
    color: white;
    text-decoration: none;
}


/* Timer Component */

.payment-timer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.payment-timer__icon {
    color: #856404;
    font-size: 1.1rem;
}

.payment-timer__text {
    color: #856404;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.payment-timer__countdown {
    color: #856404;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}


/* Responsive Design */

@media (max-width: 991px) {
    .sm-header__content {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    .sm-header__logo {
        justify-self: center;
        font-size: 2.2rem;
    }
    .sm-header__title {
        font-size: 1.2rem;
        justify-self: center;
    }
    .sm-header__back {
        justify-self: center;
    }
}

@media (max-width: 767px) {
    .sm-header__content {
        padding: 15px 20px;
    }
    .sm-header__logo {
        font-size: 2rem;
    }
    .sm-header__title {
        font-size: 1.1rem;
    }
    .payment-main {
        padding: 30px 15px;
    }
    .payment-card {
        padding: 30px 20px;
        gap: 25px;
    }
    .qr-section__code {
        width: 200px;
        height: 200px;
    }
    .test-id__value {
        font-size: 1.1rem;
    }
}

@media (max-width: 575px) {
    .sm-header__logo {
        font-size: 1.8rem;
    }
    .sm-header__title {
        font-size: 1rem;
    }
    .payment-card {
        padding: 25px 15px;
        gap: 20px;
    }
    .qr-section__code {
        width: 180px;
        height: 180px;
    }
    .qr-section__instruction {
        font-size: 0.9rem;
    }
    .payment-actions {
        flex-direction: column;
    }
    .payment-actions__button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .test-id__value {
        font-size: 1rem;
        word-break: break-all;
    }
    .qr-section__code {
        width: 160px;
        height: 160px;
    }
}


/* Change password page  */

.change-password {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 0;
}

.change-password__container {
    max-width: 500px;
    margin: 0 auto;
}

.change-password__card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: none;
}

.change-password__header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.change-password__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.change-password__subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
}

.change-password__body {
    padding: 2rem;
}

.change-password__form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.change-password__label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.change-password__input-wrapper {
    position: relative;
}

.change-password__input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.change-password__input:focus {
    outline: none;
    border-color: #667eea;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.change-password__input--error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.change-password__input--success {
    border-color: #28a745;
    background-color: #f0fff4;
}

.change-password__toggle-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.change-password__toggle-btn:hover {
    color: #495057;
}

.change-password__error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.change-password__error-message--show {
    display: block;
}

.change-password__success-message {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.change-password__success-message--show {
    display: block;
}

.change-password__requirements {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.change-password__requirements-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.change-password__requirement {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.change-password__requirement-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    color: #dc3545;
}

.change-password__requirement--valid .change-password__requirement-icon {
    color: #28a745;
}

.change-password__submit-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.change-password__submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.change-password__submit-btn:active {
    transform: translateY(0);
}

.change-password__submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.change-password__cancel-btn {
    width: 100%;
    padding: 0.875rem;
    background: transparent;
    color: #6c757d;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.change-password__cancel-btn:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}


/* Responsive Design */

@media (max-width: 575.98px) {
    .change-password {
        padding: 1rem 0;
    }
    .change-password__header {
        padding: 1.5rem;
    }
    .change-password__body {
        padding: 1.5rem;
    }
    .change-password__title {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .change-password__container {
        margin: 0 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .change-password__container {
        max-width: 600px;
    }
}

@media (min-width: 992px) {
    .change-password__container {
        max-width: 500px;
    }
}


/* Animation for form validation */

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

.change-password__input--shake {
    animation: shake 0.5s ease-in-out;
}


/* Loading state */

.change-password__submit-btn--loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.is-invalid {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
}

.owl-nav-custom {
    position: relative;
    width: 100%;
    height: 0;
    margin-top: 10px;
}

.custom-owl-btn {
    position: absolute;
    top: -185px;
    transform: translateY(-50%);
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    z-index: 2;
    background-color: #D9D9D9;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: .5;
}

.custom-owl-btn:hover {
    opacity: 1;
}

.btn-owl-prev.custom-owl-btn {
    left: -5%;
}

.btn-owl-next.custom-owl-btn {
    right: -5%;
}

.custom-owl-btn:hover {
    background: #f5f5f5;
    color: #007bff;
}

.no-topics-message {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px 0;
    border-radius: 12px;
    margin: 20px 0;
}