/* General reset and layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(90deg, rgba(77, 55, 166, 1) 0%, rgba(2, 20, 9, 1) 50%, rgba(85, 13, 255, 1) 100%);
    color: rgb(92, 15, 235);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: background 0.3s ease;
}


h1, h2 {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

/* Form Container */
.form-container {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
}

form {
    display: flex;
    flex-direction: column;
}

input[type="text"],
input[type="password"] {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border: 1px solid #007BFF;
    outline: none;
}

input[type="submit"] {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

a {
    color: #007BFF;
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
}

a:hover {
    text-decoration: underline;
}

p {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 10px;
}

/* Style for the login/signup forms */
#loginForm,
#signupForm {
    display: block;
}

#signupForm {
    display: none;
}

/* Responsive Design */
@media (max-width: 480px) {
    .form-container {
        padding: 20px 30px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    input[type="text"],
    input[type="password"] {
        padding: 10px;
        font-size: 0.9rem;
    }

    input[type="submit"] {
        padding: 10px;
        font-size: 0.9rem;
    }
}
