/* 1. आपके मुख्य लेआउट (layouts.app) के फ्लेक्स को जबरदस्ती सीधे नीचे (Vertical) करने के लिए */
main, .main-content, #app, body {
    display: flex !important;
    flex-direction: column !important; /* रो (Row) से कॉलम (Column) में बदल दिया */
    min-height: 100vh;
    justify-content: space-between;
}

:root {
    --gradient: linear-gradient(135deg, #DF528A, #8834E3);
}


/* 2. लॉगिन पेज का मुख्य बाहरी हिस्सा */
.login-page-wrapper {
   display: block !important;
    width: 100% !important;
    flex-grow: 1;
    
    /* यहाँ हमने ऊपर से स्पेस (Gap) को बढ़ाकर 120px कर दिया है */
    padding: 120px 20px 60px 20px !important; 
    
    background: linear-gradient(135deg, #f5f3f7 0%, #e2daf1 100%);
    clear: both !important;
}

/* 3. आपका लॉगिन बॉक्स जो अब एकदम सेंटर में रहेगा */
.login-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(106, 44, 112, 0.1);
    display: flex !important; /* अंदर के एलिमेंट्स (Sidebar + Form) को अगल-बगल रखने के लिए */
    width: 850px;
    max-width: 100%;
    overflow: hidden;
    min-height: 500px;
    margin: 0 auto !important; /* यह लेफ्ट-राइट से बराबर सेंटर में लाएगा */
}

/* Left Side: Image Banner */
.login-sidebar {
    background: linear-gradient(rgba(106, 44, 112, 0.85), rgba(106, 44, 112, 0.85)), 
                url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?q=80&w=600') center/cover;
    width: 45%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.login-sidebar h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: #ffffff !important;
}

.login-sidebar p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffffff !important;
    opacity: 0.9;
}

/* Right Side: Form */
.login-form-section {
    width: 55%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff !important;
}

.brand-title {
    color: #6a2c70;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-subtitle {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eaeaea;
    border-radius: 10px;
    outline: none;
    font-size: 0.95rem;
}

.form-group input:focus {
    border-color: #6a2c70;
}

/* Remember me और Forgot password को एक लाइन में सेट करने के लिए */
.form-actions {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 25px;
    font-size: 0.85rem;
    width: 100% !important;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #555;
}

.forgot-pass {
    color: #6a2c70;
    text-decoration: none;
    font-weight: 500;
}

.btn-login {
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 30px;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.register-link {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
}

.register-link a {
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .login-sidebar { display: none; }
    .login-form-section { width: 100%; padding: 30px; }
}