/* Global Styles */ 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1c1c1c, #333);
    color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px; /* Ensures content is not too close to the edges on small screens */
}

/* Centered container */
.container {
    text-align: center;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    background: linear-gradient(145deg, #444, #222);
    border-radius: 15px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3), -10px -10px 20px rgba(255, 255, 255, 0.1);
}

/* Heading style */
h1 {
    font-size: 2rem;
    color: #00aaff;
    margin-bottom: 20px;
}

/* Form style */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

/* Input style */
input[type="email"],
input[type="password"],
input[type="text"] {
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background: #333;
    color: #ddd;
    outline: none;
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.4), inset -5px -5px 10px rgba(255, 255, 255, 0.05);
}

/* Button style */
button {
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    background: linear-gradient(145deg, #00aaff, #0077cc);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4), -5px -5px 10px rgba(255, 255, 255, 0.05);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.4), -8px -8px 15px rgba(255, 255, 255, 0.1);
}

/* Error message style */
p {
    color: #ff6666;
    font-size: 1rem;
    margin-top: 15px;
    text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    body {
        padding: 10px; /* Adds more breathing room */
    }

    .container {
        padding: 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    input[type="email"],
    input[type="password"],
    input[type="text"] {
        padding: 10px;
        font-size: 0.95rem;
    }

    button {
        padding: 10px;
        font-size: 0.95rem;
    }

    p {
        font-size: 0.9rem;
    }
}
