@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Lock outer body & container from scrolling on desktop ONLY (laptops & larger screens) */
@media (min-width: 992px) {
    body.account-page,
    body.account-page .main-wrapper {
        overflow: hidden !important;
        height: 100vh !important;
        max-height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .bmc-auth-page {
        min-height: 100vh;
        height: 100vh;
        max-height: 100vh;
        overflow: hidden !important;
        background: #ffffff;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        color: #1e293b;
    }

    .bmc-auth-form-column {
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto !important;
    }

    .bmc-auth-page .auth-hero-panel {
        min-height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }
}

/* Enable vertical scrolling on small screens (mobile & tablet < 992px) */
@media (max-width: 991.98px) {
    body.account-page,
    body.account-page .main-wrapper {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .bmc-auth-page {
        min-height: 100vh;
        height: auto !important;
        max-height: none !important;
        overflow-y: auto !important;
        background: #ffffff;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        color: #1e293b;
    }

    .bmc-auth-form-column {
        min-height: 100vh;
        height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Left Marketing Hero Panel Container */
.bmc-auth-page .auth-hero-panel {
    background-color: #faf7f2;
    background-image: url('../img/auth-hero-bg-texture.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    border-right: 1px solid #e2e8f0;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Cursive Font Utilities */
.auth-hero-cursive {
    font-family: 'Caveat', cursive;
    line-height: 1.1;
}

.auth-hero-cursive-top {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-weight: 700;
    color: #475569;
    transform: rotate(-3deg);
    line-height: 1.15;
}

.auth-hero-cursive-underline {
    position: relative;
    display: inline-block;
}

.auth-hero-cursive-underline::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ff5722;
    border-radius: 2px;
}

/* Big Personalities Cursive */
.auth-hero-cursive-big {
    font-family: 'Caveat', cursive;
    font-size: 38px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.05;
}

.auth-hero-cursive-big span {
    color: #ff5722;
    position: relative;
    display: inline-block;
}

.auth-hero-cursive-big span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ff5722;
    border-radius: 2px;
}

/* Logo & Top Branding */
.bmc-auth-page .auth-hero-logo {
    max-height: 48px;
    max-width: 220px;
    object-fit: contain;
}

.bmc-auth-page .auth-hero-brand {
    font-weight: 900;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
}

.bmc-auth-page .auth-hero-brand-accent {
    color: #ff5722;
}

.bmc-auth-page .auth-hero-tagline {
    font-size: 10px;
    letter-spacing: 1.8px;
    color: #94a3b8 !important;
    font-weight: 600;
}

/* Main Typography */
.bmc-auth-page .auth-hero-heading {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -1px;
    color: #0f172a;
}

.bmc-auth-page .auth-hero-heading-highlight {
    color: #ff5722;
    display: block;
}

.bmc-auth-page .auth-hero-subheading {
    line-height: 1.5;
    color: #64748b !important;
    font-size: 15px;
    font-weight: 400;
    max-width: 440px;
}

/* Crisp White Feature Cards */
.bmc-auth-page .auth-hero-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease-in-out;
    max-width: 440px;
}

.bmc-auth-page .auth-hero-card:hover {
    border-color: #ffdcd0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 87, 34, 0.08);
}

.bmc-auth-page .auth-hero-icon-wrapper {
    width: 44px;
    height: 44px;
    background: #fff0eb;
    color: #ff5722;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* Right Celebrity Image Graphic Cutout */
.auth-hero-celebrity-img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 94%;
    max-width: 58%;
    object-fit: contain;
    object-position: bottom right;
    pointer-events: none;
    z-index: 1;
}

/* Testimonial Overlay Box */
.auth-hero-testimonial-card {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid #ffffff;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    max-width: 280px;
}

.auth-hero-testimonial-quote {
    font-size: 13px;
    color: #334155;
    font-style: italic;
    line-height: 1.4;
}

.auth-hero-testimonial-author {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.bmc-auth-page .auth-hero-feature-item {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease-in-out;
}

.bmc-auth-page .auth-hero-feature-item:hover {
    border-color: #ffdbd0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.08);
    background: #ffffff;
}

.bmc-auth-page .auth-hero-icon-box {
    width: 42px;
    height: 42px;
    background: #fff0eb;
    border: 1px solid #ffe3da;
    color: #ff5722;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.bmc-auth-page .auth-hero-trust-badge {
    border-top: 1px dashed #e2e8f0;
    padding-top: 20px;
}

/* Field Wrappers & Labels */
.bmc-auth-page .field-wrapper {
    margin-bottom: 0.85rem;
}

.bmc-auth-page .field-label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 5px;
    display: block;
}

/* Input Box Groups & Text Fields */
.bmc-auth-page .input-box-group {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    height: 46px;
}

.bmc-auth-page .input-box-group:focus-within {
    border-color: #ff5722 !important;
    box-shadow: none !important;
}

.bmc-auth-page .input-icon-left {
    padding-left: 14px;
    padding-right: 8px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.bmc-auth-page .input-field-custom {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    height: 100%;
    width: 100%;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 400;
    color: #0f172a;
    background: transparent;
}

.bmc-auth-page .input-field-custom::placeholder {
    color: #94a3b8;
}

.bmc-auth-page .country-code-select {
    border: none !important;
    outline: none !important;
    background: transparent;
    font-weight: 700;
    color: #0f172a;
    font-size: 16px;
    padding: 0 4px;
    cursor: pointer;
}

/* Role Selector Cards */
.bmc-auth-page .role-option-card {
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    user-select: none;
    height: 100%;
}

.bmc-auth-page .role-option-card:hover {
    border-color: #ff5722;
    background: #fffaf8;
}

.bmc-auth-page .role-radio-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: inline-block;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all 0.15s ease-in-out;
}

.bmc-auth-page .btn-check:checked+.role-option-card {
    border-color: #ff5722 !important;
    background: #fffaf8 !important;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.12) !important;
}

.bmc-auth-page .btn-check:checked+.role-option-card .role-radio-dot {
    border-color: #ff5722 !important;
    background-color: #ff5722 !important;
    box-shadow: inset 0 0 0 3px #ffffff !important;
}

/* Primary Submit Button */
.bmc-auth-page .submit-btn-primary {
    background: #ff5722;
    border: none;
    color: #ffffff;
    font-weight: 700;
    height: 50px;
    border-radius: 10px;
    font-size: 16px;
    width: 100%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bmc-auth-page .submit-btn-primary:hover {
    background: #e64a19;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(255, 87, 34, 0.25);
}

/* Social Authentication Button */
.bmc-auth-page .social-btn-custom {
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    height: 46px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    background: #ffffff;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.bmc-auth-page .social-btn-custom:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}