/* ===============================
   ADMIN LOGIN PAGE
================================ */

.login-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Segoe UI", sans-serif;
}

.login-wrapper {
    width: 100%;
    max-width: 380px;
    padding: 20px;
}

.login-card {
    background: #fff;
    border-radius: 14px;
    padding: 35px 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    text-align: center;
    animation: fadeIn 0.6s ease;
}

.login-card h1 {
    margin: 0;
    font-size: 28px;
    color: #4f46e5;
    letter-spacing: 1px;
}

.login-subtitle {
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Input fields */
.input-group {
    position: relative;
    margin-bottom: 22px;
}

.input-group input {
    width: 100%;
    padding: 14px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 15px;
    outline: none;
    background: transparent;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    color: #999;
    font-size: 14px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: 0.3s ease;
    background: #fff;
    padding: 0 6px;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: -6px;
    font-size: 12px;
    color: #4f46e5;
}

/* Button */
.btn-login {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: #4f46e5;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    background: #4338ca;
}

/* Error */
.login-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
}

/* Footer */
.login-footer {
    margin-top: 25px;
    font-size: 12px;
    color: #aaa;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    background: #f6f7fb;
}

.dashboard-wrapper {
    margin-left: 240px;
    padding: 30px;
    min-height: 100vh;
}

.dashboard-content {
    max-width: 1200px;
}
