/* Premium Login Styling */
body {
    background-color: #0a0a0a;
    /* Dark fallback when no background set */
}

/* ── Auth Background: Video ── */
.auth-bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* ── Auth Background: Image ── */
.auth-bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* ── Dark overlay on top of video/image ── */
.auth-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
    /* Clicks pass through to elements below */
}

.signin-area {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0 !important;
    /* Override default */
    position: relative;
    z-index: 2;
    /* Above video/image background */
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 16px;
    position: relative;
    z-index: 3;
    /* Above overlay */
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.brand-logo {
    max-height: 80px;
    width: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 19px;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.login-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 8px;
    display: block;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.form-control {
    background: #F2F4F7;
    border: 1px solid transparent;
    border-radius: 10px;
    height: 42px;
    padding: 0 13px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-control:focus {
    background: #ffffff;
    border-color: #2275fc;
    /* Assuming primary color, adjust if needed */
    box-shadow: 0 0 0 4px rgba(34, 117, 252, 0.1);
}

.form-control.password-field {
    padding-right: 45px;
    /* Prevent text from going under the icon */
}

.box-view-hide {
    position: relative;
    z-index: 1;
    /* Ensure container establishes stacking context */
}

.show-pass {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #787982;
    z-index: 10;
    /* Ensure icon stays on top */
    display: flex;
    /* Ensure proper alignment */
    align-items: center;
}

.submit-btn {
    height: 42px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    margin-top: 26px;
    transition: all 0.3s ease;
    background: #ef8327 !important;
    border: 1px solid #efaf43 !important;
    color: #ffffff !important;
}

.submit-btn:hover {
    background: #e5731f !important;
    border-color: #efaf43 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(239, 131, 39, 0.3);
}

.forgot-pass-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.forgot-pass-link:hover {
    color: #ffffff;
}