nav, .navbar, footer {
    display: none !important;
}

.login-split-page {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.back-to-home-btn {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-home-btn i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.back-to-home-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.back-to-home-btn:hover i {
    transform: translateX(-4px);
}
@media (max-width: 768px) {
    .back-to-home-btn {
        top: 16px;
        left: 16px;
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}
.auth-bg-layer {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.kabba-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center; 
}

.dynamic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
}

.form-side-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 550px;
    padding-right: 80px;
    display: flex;
    justify-content: center;
}

.glass-login-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 35px;
    padding: 50px 45px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    color: white;
    text-align: center;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.login-brand-logo {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 2px solid #c5a059;
    margin-bottom: 12px;
}

.arabic-heading {
    font-family: 'Amiri', serif;
    font-size: 2.3rem;
    margin: 0;
    color: white;
}

.welcome-msg {
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.8;
}

.input-set {
    text-align: left;
    margin-bottom: 22px;
}

.input-set label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i:not(.toggle-eye-btn) {
    position: absolute;
    left: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.input-with-icon input {
    width: 100%;
    padding: 13px 15px 13px 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white !important;
    font-size: 0.9rem;
    transition: 0.3s;
}

.input-with-icon input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #c5a059;
    outline: none;
}

.toggle-eye-btn {
    position: absolute;
    right: 15px;
    cursor: pointer;
    opacity: 0.7;
    z-index: 5;
}

.forgot-area {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-area a {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    text-decoration: none;
}

.emerald-action-btn {
    width: 100%;
    background: #065f46;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.emerald-action-btn:hover {
    background: #044e3a;
    transform: translateY(-2px);
}

.auth-footer-link {
    margin-top: 30px;
    font-size: 0.85rem;
}

.auth-footer-link a {
    color: #c5a059;
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

.auth-alert {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .login-split-page { justify-content: center; }
    .form-side-container { padding-right: 0; }
    .glass-login-box { margin: 20px; }
    .dynamic-overlay { background: rgba(0,0,0,0.6); }
}

/* ==========================================
   Spacious Box & Remember Me Additions
   ========================================== */

/* Glass Box ki width thodi barha di hai aur standard constraints lagaye hain */
.glass-login-box {
    width: 100%;
    max-width: 460px; /* Pehle agar 380px-400px tha, toh ab thoda khula (460px) kar diya hai */
    padding: 40px;    /* Inner padding ko set kiya taake layout me saans lene ki jagah ho */
    box-sizing: border-box;
}

/* Flex row jo Remember me aur Forgot password ko ek hi line me manage karegi */
.auth-options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -8px 0 24px 0; /* Aligning properly between password field and Sign In button */
    width: 100%;
}

/* Custom Styled Checkbox Container */
.remember-me-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-size: 0.9rem;
    color: #cbd5e1; /* Smooth text color for glassmorphism */
}

/* Original Checkbox ko hide kiya custom look dene ke liye */
.remember-me-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom Checkbox Design */
.custom-checkbox {
    position: relative;
    height: 18px;
    width: 18px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-right: 8px;
    transition: all 0.2s ease;
}

/* Hover effect on Checkbox */
.remember-me-label:hover input ~ .custom-checkbox {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Checked state color (Emerald theme ke mutabiq) */
.remember-me-label input:checked ~ .custom-checkbox {
    background-color: #10b981; /* Premium Emerald/Green color */
    border-color: #10b981;
}

/* Checkmark Tick inside box */
.custom-checkbox::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.remember-me-label input:checked ~ .custom-checkbox::after {
    display: block;
}

.checkbox-text {
    font-weight: 500;
}

/* Reset forgot-area padding/margin to prevent styling clash */
.forgot-area {
    margin: 0;
}

.forgot-area a {
    color: #cbd5e1;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-area a:hover {
    color: #10b981; /* Emerald color hover */
    text-decoration: underline;
}

/* ==========================================
   Premium Google & Divider Styling 
   ========================================== */
.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
    position: relative;
    width: 100%;
}

.auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.divider-text {
    background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0 16px;
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 1;
    border-radius: 20px;
}

.google-auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    box-sizing: border-box;
}

.google-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.google-button-text {
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', -apple-system, sans-serif;
    letter-spacing: 0.2px;
}

.google-auth-button:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.02);
}

.google-auth-button:active {
    transform: translateY(0.5px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    background-color: #f1f5f9;
}