/* Login Page Specific Styles */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.login-brand-side {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.9), rgba(46, 125, 50, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-brand-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.brand-logo {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.85);
}

.feature-item {
    font-size: 1.1rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 0 2rem;
}

.feature-item i {
    font-size: 1.2rem;
    min-width: 24px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
}

.feature-list {
    max-width: 450px;
    margin: 0 auto;
    text-align: left;
}

.feature-item:nth-child(1) { animation-delay: 0.3s; }
.feature-item:nth-child(2) { animation-delay: 0.5s; }
.feature-item:nth-child(3) { animation-delay: 0.7s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-form-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.card {
    border-radius: 16px;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
}

.form-control:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.btn-success {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #45a049, #1B5E20);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.btn-success:active {
    transform: translateY(0);
}

.form-control-lg {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control-lg:focus {
    border-color: #4CAF50;
    transform: scale(1.02);
}

.input-group .btn {
    border-radius: 0 8px 8px 0;
    border: 2px solid #e0e0e0;
    border-left: none;
}

.form-check-input:checked {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

/* Main content container centering */
.login-brand-side .d-flex {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Title and description centering */
.display-4 {
    text-align: center;
    width: 100%;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lead {
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .login-container {
        background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    }
    
    .login-form-container {
        background: transparent;
    }
}

@media (max-width: 576px) {
    .card-body {
        padding: 2rem 1.5rem !important;
    }
    
    .login-form-container {
        padding: 1rem !important;
    }
}

/* Loading animation */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Demo info card */
.bg-light {
    background-color: rgba(248, 249, 250, 0.95) !important;
    backdrop-filter: blur(10px);
}

.card-header {
    background: rgba(233, 236, 239, 0.95);
    border-bottom: 1px solid rgba(0,0,0,0.125);
}

/* Powered by Prapanch styling */
.powered-by-login {
    font-style: normal;
    opacity: 1;
    font-size: 0.85rem !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #4CAF50;
    font-weight: 500;
}

.prapanch-logo-login {
    height: 16px;
    width: auto;
    opacity: 1;
}

/* Swatch Bharat Logo Styling - Large and Prominent */
.swatch-bharat-logo {
    width: 280px;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    padding: 20px;
    position: relative;
    z-index: 2;
    border: 3px solid rgba(255, 255, 255, 0.2);
    display: block;
    margin: 0 auto;
}

.swatch-bharat-logo-mobile {
    width: 180px;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    padding: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: block;
    margin: 0 auto;
}

/* Animation for Swatch Bharat logo */
.swatch-bharat-logo,
.swatch-bharat-logo-mobile {
    animation: logoFadeIn 1s ease-out;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
