/* ============== Login Page Styling ============== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body.login-body {
    background: #e9f1ff; /* হালকা নীল ব্যাকগ্রাউন্ড */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Wrapper */
.login-wrapper {
    width: 100%;
    max-width: 430px;
    padding: 20px;
    animation: fadeIn 0.4s ease;
}

/* Title */
.login-wrapper h1 {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 4px;
}

.login-wrapper h2 {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 18px;
}

/* Card */
.card {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e0e7ff;
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.15);
    animation: slideUp 0.35s ease;
}

/* Labels */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
    display: block;
    font-weight: 500;
}

/* Inputs */
.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #cdd4f4;
    border-radius: 10px;
    outline: none;
    background: #f8faff;
    transition: 0.2s;
}

.form-group input:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
}

/* Login Button */
.btn {
    display: inline-block;
    width: 100%;
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* Error Box */
.alert-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 480px) {
    .card {
        padding: 18px;
    }
}
