* { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', sans-serif; height: 100vh; overflow: hidden; }

.split-container { display: flex; height: 100vh; }

/* LEFT: Branding Panel */
.brand-panel {
    flex: 3;
    background: #7503038a;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 30px;
    background-image: linear-gradient(rgba(117, 0, 0, 0.30), rgba(153, 0, 0, 0.30)), url('../img/mcc-front2.jpg');
    background-size: cover;
    background-position: center;
}

.brand-content { 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
}
.main-logo { width: 200px; margin-bottom: 20px; }
.brand-content h1 { font-size: 1.5rem; margin: 10px 0; }

/* FOOTER FIXES */
.footer-bottom-wrapper {
    margin-top: auto; 
    width: 100%;
    display: flex;
    flex-direction: row; 
    align-items: center; 
    justify-content: space-between;
    gap: 15px;
    padding-top: 20px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.8rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Remove default paragraph margin that causes spacing issues */
.contact-item p { margin: 0; }

.social-links {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.social-links a {
    color: #ffffff;
    font-size: 20px;
}

/* RIGHT: Authentication Panel */
.auth-panel { 
    flex: 7; 
    position: relative; /* Essential */
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
}
/* Ensure content sits above video and overlay */
.auth-content { 
    position: relative;
    z-index: 2;
    width: 85%; 
    max-width: 450px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
}
.red-line { width: 40px; height: 3px; background: #990000; margin: 10px 0 20px 0; }
.auth-card { display: flex; align-items: center; width: 100%; padding: 15px; margin: 10px 0; border: 1px solid #eee; border-radius: 12px; text-decoration: none; color: #000000; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.auth-card:hover { transform: translateY(-3px); border-color: #990000; }
.icon-circle { width: 40px; height: 40px; background: #990000; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0; }
.text { text-align: left; }
.text h3 { margin: 0; font-size: 1rem; }
.text p { margin: 2px 0 0; color: #000000; font-size: 0.8rem; }

/* Video Styling */
.auth-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay for readability */
.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1); /* White fade; adjust opacity as needed */
    z-index: 1;
}

/* --- Custom Modern SweetAlert2 Styling & Fix for Layout Shift --- */
.swal2-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.custom-swal-popup {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 30px 20px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    width: 380px !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.custom-swal-title {
    color: #2c3e50 !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin-top: 10px !important;
}

.custom-swal-text {
    color: #555555 !important;
    font-size: 0.95rem !important;
}

.custom-swal-btn {
    background-color: #c0392b !important;
    color: #ffffff !important;
    padding: 10px 25px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(192, 57, 43, 0.3) !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.custom-swal-btn:hover {
    background-color: #a93226 !important;
}