/* Login Page Styles */
.login-page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.login-background {
    background-image: url('../public/Login_background.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    position: relative;
}

.login-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.login-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.logo-section {
    margin-bottom: 1.5rem;
}

.bank-logo {
    height: 5rem;
    width: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.welcome-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 32rem;
}

.welcome-content h1 {
    font-size: 2rem !important;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

    .welcome-content p {
        font-size: 1rem !important;
        color: white;
        margin-bottom: 1.5rem;
        line-height: 1.6;
        opacity: 0.9;
    }

.footer-text {
    margin-top: 1.5rem;
}

.footer-text p {
    font-size: 0.875rem;
    font-weight: 500;
    color: #ababab;
}

.login-right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-form-container {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
    width: 100%;
    max-width: 24rem;
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.6;
    padding: 0 0.5rem;
    color: #561816;
}

.error-message {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.error-message p {
    color: #dc2626;
    font-size: 0.875rem;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #713638;
    border-radius: 0.5rem;
    text-align: center;
    color: #561816;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: #9C1D26;
    box-shadow: 0 0 0 3px rgba(156, 29, 38, 0.1);
}

.login-form button[type="submit"] {
    width: 100%;
    background-color: #9C1D26;
    color: white;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.login-form button[type="submit"]:hover {
    background-color: #7A1520;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.back-button {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #713638;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: #561816;
    text-decoration: underline;
}

.terms-text {
    margin-top: 1.5rem;
    text-align: center;
}

.terms-text p {
    font-size: 0.75rem;
    line-height: 1.6;
    padding: 0 0.5rem;
    color: #713638;
}

.terms-text a {
    color: #9C1D26;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-text a:hover {
    color: #7A1520;
    text-decoration: underline;
}

/* Responsive Design for Login */
@media (min-width: 640px) {
    .welcome-content h1 {
        font-size: 2.25rem;
    }
    
    .welcome-content p {
        font-size: 1.125rem;
    }
    
    .login-form-container {
        padding: 2rem;
    }
    
    .login-form input {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .login-form button[type="submit"] {
        padding: 1rem 1.5rem;
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .login-container {
        flex-direction: row;
    }
    
    .login-left {
        width: 50%;
        padding: 4rem;
    }
    
    .login-right {
        width: 50%;
        padding: 2rem;
    }
    
    .welcome-content h1 {
        font-size: 3rem;
    }
    
    .welcome-content p {
        font-size: 1.25rem;
    }
}

@media (min-width: 1280px) {
    .login-form-container {
        padding: 3rem;
        max-width: 32rem;
    }
    
    .welcome-content h1 {
        font-size: 4rem;
    }
    
    .welcome-content p {
        font-size: 1.5rem;
    }
}