body.mc-page {
    overflow: auto !important;
    background: #f3f6f3;
}

.mc-auth-page {
    min-height: 100vh;
    background: #f3f6f3;
}

.mc-auth-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 72px;
    color: #fff;
    background-image: linear-gradient(120deg, rgba(4, 79, 35, 0.92), rgba(0, 133, 63, 0.75)), url('images/bn-tour6.webp');
    background-size: cover;
    background-position: center;
}

.mc-auth-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('images/tours-bg.svg');
    background-size: 320px;
    opacity: 0.08;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}

.mc-auth-hero-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.mc-auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
}

.mc-auth-hero h1 {
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.1;
}

.mc-auth-hero p {
    font-size: 18px;
    max-width: 420px;
    opacity: 0.9;
    margin-bottom: 28px;
}

.mc-auth-hero-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mc-auth-hero-tags span {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 12px;
    letter-spacing: 0.02em;
}

.mc-auth-hero-mark {
    position: absolute;
    right: 40px;
    bottom: 40px;
    opacity: 0.18;
    z-index: 1;
}

.mc-auth-hero-mark img {
    width: 280px;
    height: auto;
}

.mc-auth-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    background: linear-gradient(180deg, #f8faf8 0%, #eef5ef 100%);
}

.mc-auth-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(4, 79, 35, 0.16);
    border: 1px solid #e0e7e3;
}

.mc-auth-mobile-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 16px;
    background-image: linear-gradient(120deg, rgba(4, 79, 35, 0.95), rgba(0, 133, 63, 0.85)), url('images/bn-tour6.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-bottom: 24px;
}

.mc-auth-mobile-hero img {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.2));
}

.mc-auth-mobile-hero p {
    margin: 0;
    font-size: 16px;
}

.mc-auth-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.mc-auth-brand img {
    width: 64px;
    height: auto;
}

.mc-auth-brand h2 {
    margin: 0;
    font-size: 24px;
    color: var(--theme-green);
    font-weight: 600;
}

.mc-auth-brand p {
    margin: 4px 0 0;
    font-size: 15px;
    color: #1f2937;
}

.mc-auth-form {
    display: grid;
    gap: 16px;
}

.mc-auth-form .mb-3 {
    margin-bottom: 0 !important;
}

.mc-auth-form label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1c5b34;
    font-weight: 600;
}

.mc-auth-card .form-control {
    height: 52px !important;
    border-radius: 12px !important;
    border: 1px solid #d4e3da !important;
    background: #f7fbf8 !important;
    padding: 0 16px !important;
    box-shadow: none !important;
}

.mc-auth-card .form-control:focus {
    border-color: #0b6b36 !important;
    box-shadow: 0 0 0 3px rgba(4, 79, 35, 0.12) !important;
    background: #fff !important;
}

.mc-auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.mc-auth-link {
    color: var(--theme-green);
    font-weight: 600;
    text-decoration: none;
}

.mc-auth-link:hover {
    text-decoration: underline;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.form-check-input {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--theme-green);
    box-shadow: none !important;
}

.form-check-input:checked {
    background-color: var(--theme-green);
    border-color: var(--theme-green);
}

.mc-auth-card .btn-mc-primary {
    height: 52px;
    border-radius: 12px !important;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    width: 100%;
    max-width: none;
}

.mc-auth-register {
    text-align: center;
    font-size: 14px;
    color: #4b5563;
}

.mc-auth-register a {
    color: var(--theme-green);
    font-weight: 600;
    text-decoration: none;
}

.mc-auth-register a:hover {
    text-decoration: underline;
}

.alert {
    margin-bottom: 16px;
}

@media (max-width: 1199px) {
    .mc-auth-hero {
        padding: 70px 54px;
    }

    .mc-auth-hero h1 {
        font-size: 38px;
    }

    .mc-auth-card {
        padding: 32px;
    }
}

@media (max-width: 991px) {
    .mc-auth-panel {
        min-height: auto;
        padding: 24px 16px 40px;
    }

    .mc-auth-card {
        border-radius: 20px;
        padding: 28px;
        box-shadow: 0 24px 48px rgba(4, 79, 35, 0.14);
    }

    .mc-auth-brand {
        margin-bottom: 18px;
    }
}

@media (max-width: 575px) {
    .mc-auth-card {
        padding: 22px;
    }

    .mc-auth-brand img {
        width: 52px;
    }

    .mc-auth-brand h2 {
        font-size: 20px;
    }
}
