/* ========== BEAUTIFUL & MODERN LOGIN PAGE ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #1a202c;
    line-height: 1.6;
    min-height: 100vh;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    width: 100%;
    max-width: 420px;
    background: white;
    padding: 50px 45px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease-out;
}

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

.login-box h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: -0.8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    text-align: center;
    font-size: 12px;
    color: #718096;
    margin-bottom: 32px;
    font-weight: 500;
}

/* ========== FORM ========== */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 11px;
    font-weight: 600;
    color: #2d3748;
    text-transform: capitalize;
    letter-spacing: 0.4px;
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-family: 'Inter', inherit;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f7fafc;
    color: #1a202c;
}

.form-group input::placeholder {
    color: #cbd5e0;
    font-weight: 400;
}

.form-group input:hover {
    border-color: #cbd5e0;
    background: #f1f5f9;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* ========== BUTTON ========== */
.btn-login {
    padding: 14px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', inherit;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-login:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b3d8f 100%);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.35);
    transform: translateY(-2px);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

/* ========== ERROR MESSAGE ========== */
.error-message {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    color: #c53030;
    padding: 14px 16px;
    border: 2px solid #fc8181;
    border-radius: 10px;
    font-size: 12px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 480px) {
    .login-box {
        padding: 40px 24px;
        max-width: 100%;
    }

    .login-box h1 {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .login-subtitle {
        font-size: 13px;
        margin-bottom: 28px;
    }

    .form-group {
        gap: 8px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input {
        padding: 12px 14px;
        font-size: 14px;
    }

    .btn-login {
        padding: 12px 18px;
        font-size: 14px;
        letter-spacing: 0.6px;
    }
}
    }

    .form-group input {
        padding: 11px 13px;
        font-size: 13px;
        border-radius: 5px;
    }

    .btn-login {
        padding: 11px 14px;
        font-size: 13px;
        border-radius: 5px;
    }

    .form-footer {
        margin-top: 18px;
        padding-top: 18px;
    }
}
