@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    color: #1a1a1a;
    line-height: 1.6;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: 100%;
    max-width: 28rem;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.login-header {
    padding: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.login-header img {
    width: 200px;
}

.login-header h3 {
    margin-top: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .form-group label {
        font-size: 0.875rem;
        font-weight: 500;
        color: #374151;
    }

    .form-group input {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 1px solid #e5e7eb;
        border-radius: 0.5rem;
        outline: none;
        transition: all 0.3s ease;
    }

        .form-group input:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

    .form-group button {
        width: 100%;
        background-color: #5e35b1;
        color: white;
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 0.5rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .form-group button:hover {
            background-color: #4e2c92;
        }

        .form-group button:active {
            transform: translateY(0);
        }

.error-message {
    padding: 15px 20px;
    margin-bottom: 15px;
    background-color: #ffe6df;
    border-left: 3px solid #e49368;
    color: #6a5c53;
}

    .error-message ul {
        list-style: none;
    }

/* Responsive adjustments */
@media (max-width: 640px) {
    .login-box {
        max-width: 90%;
        padding: 1.5rem;
    }

    .login-header h2 {
        font-size: 1.5rem;
    }
}
