/* LSBR Auth Page Theme */

/* Hide header & footer to create clean auth experience */
.auth-page .theme-main-menu,
.auth-page footer {
    display: none !important;
}

/* Flex split layout between form (left) & illustration (right) */
body.auth-page {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* prevent horizontal scroll */
}

@media (min-width: 768px) {
    body.auth-page {
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
    }
}

/* Left (form) column */
body.auth-page .main-page-wrapper {
    flex: 1;
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    background: #ffffff;
    overflow: hidden; /* make non-scrollable */
    min-height: 100vh; /* ensure full height for perfect centering */
    padding: 40px 16px;
}

/* Form container card */
.auth-page .user-data-form {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-page h2#formTitle {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 36px;
    text-align: center;
    color: #007bff;
    text-shadow: 0 2px 4px rgba(0, 123, 255, 0.1);
}

/* Input + select tweaks */
.auth-page .input-group-meta input,
.auth-page .input-group-meta select {
    background: rgba(249, 250, 251, 0.8);
    border: 1px solid rgba(223, 227, 232, 0.6);
    border-radius: 12px !important;
    height: 52px;
    font-size: 15px;
    color: #212529;
    padding: 0 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.auth-page .input-group-meta input:focus,
.auth-page .input-group-meta select:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    outline: none;
}

.auth-page .input-group-meta label {
    font-weight: 500;
}

/* Reduce size for checkbox and forgot password text */
.auth-page .agreement-checkbox {
    font-size: 0.85rem;
}

.auth-page .agreement-checkbox a {
    font-size: 0.85rem;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-page .agreement-checkbox a:hover {
    color: #0056d2;
    text-decoration: underline;
}

/* Primary button */
.auth-page button.btn-eleven {
    background: linear-gradient(135deg, #007bff, #0056d2);
    border: 0;
    border-radius: 12px;
    height: 52px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.auth-page button.btn-eleven:hover {
    background: linear-gradient(135deg, #0056d2, #004085);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Right – colourful illustration panel */
.auth-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40vh;
    min-height: 300px;
    padding: 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .auth-right {
        width: 50%;
        height: 100vh;
    }
}

.auth-right video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background: #000; /* Fallback background */
}

/* Ensure video is visible and properly sized */
.auth-right video::-webkit-media-controls {
    display: none !important;
}

.auth-right video::-webkit-media-controls-panel {
    display: none !important;
}

/* Removed the red overlay to show video clearly */

.auth-right .auth-caption {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: #fff;
    text-align: center;
    max-width: 95%;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    padding: 0 10px;
    white-space: nowrap;
}

.auth-right .auth-caption-bottom {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: #fff;
    text-align: center;
    max-width: 90%;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    padding: 0 20px;
    white-space: nowrap;
}

/* LSBR logo top-left */
.auth-logo {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 10;
}
.auth-logo img {
    height: 50px;
    width: auto;
}

/* Blue primary button on auth page */
.auth-page .btn-eleven,
.auth-page .btn-login,
.auth-page button[type="submit"] {
    background: #007bff !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 123, 255, 0.25);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.auth-page .btn-eleven:hover,
.auth-page .btn-login:hover,
.auth-page button[type="submit"]:hover {
    background: #0056d2 !important;
    box-shadow: 0 6px 20px rgba(0, 86, 210, 0.35);
    transform: translateY(-2px);
}

/* Ensure video is visible on all screen sizes */
.auth-right {
    display: flex !important;
    background: #000; /* Fallback background */
    position: relative;
}

@media (max-width: 767px) {
    body.auth-page {
        flex-direction: column;
    }
    
    body.auth-page .main-page-wrapper {
        flex: 1;
        min-height: 60vh;
    }
    
    .auth-right {
        width: 100%;
        height: 40vh;
        min-height: 300px;
    }
}

.auth-right .illustration {
    max-width: 70%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.auth-right h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 30px 0 10px;
    text-align: center;
    z-index: 2;
}

.auth-right p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 320px;
    text-align: center;
    z-index: 2;
}

/* Decorative translucent blobs */
.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    filter: blur(12px);
    z-index: 1;
    animation: float 10s ease-in-out infinite;
}

.shape.shape-1 { width: 160px; height: 160px; top: 10%; left: 12%; }
.shape.shape-2 { width: 100px; height: 100px; bottom: 18%; right: 20%; animation-delay: 2s; }
.shape.shape-3 { width: 70px; height: 70px; top: 55%; right: 8%; animation-delay: 4s; }

@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
} 