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

body {
    font-family: 'Poppins', Arial, sans-serif;
    background: linear-gradient(135deg, #4e4376, #2b5876);
    color: #fff;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.auth-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    padding: clamp(20px, 5vw, 40px);
    text-align: center;
    animation: slideUp 1s ease forwards;
    box-sizing: border-box;
}

h1 {
    margin-bottom: 20px;
    color: #4e4376;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-size: 14px;
    color: #2b5876;
    margin-bottom: 5px;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #4e4376;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #61dafb;
}

button {
    width: 100%;
    padding: clamp(10px, 2vw, 15px);
    background-color: #4e4376;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #61dafb;
    transform: translateY(-5px);
}

.additional-links {
    margin-top: 20px;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.8);
}

.additional-links a {
    color: #61dafb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.additional-links a:hover {
    color: #4e4376;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive Design */
@media screen and (max-width: 768px) {
    .auth-container {
        padding: clamp(15px, 5vw, 30px);
    }

    h1 {
        font-size: clamp(1.6rem, 4vw, 2rem);
    }

    button {
        padding: clamp(8px, 2vw, 12px);
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }

    .form-group input {
        padding: 8px;
    }
}

@media screen and (max-width: 480px) {
    .auth-container {
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }

    button {
        padding: 10px;
        font-size: 14px;
    }

    .form-group input {
        padding: 8px;
    }
}
