/* ---------------
   RESET & GLOBAL
   --------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Roboto", Arial, sans-serif;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ---------------
   CONTAINER
   --------------- */
.container {
    background-color: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 2rem 1.5rem;
    margin: 1rem;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1,
h2 {
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    color: #2f2f2f;
}

/* ---------------
   FORMS
   --------------- */
form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

input[type="text"],
input[type="number"],
input[type="password"] {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* ---------------
   BUTTONS
   --------------- */
button {
    cursor: pointer;
    border: none;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #007bff, #0056b3);
    box-shadow: 0 4px 14px rgba(0, 123, 255, 0.3);
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    margin-bottom: 1rem;
    text-align: center;
}

    button:hover {
        background: linear-gradient(135deg, #0069d9, #004080);
        box-shadow: 0 6px 16px rgba(0, 105, 217, 0.4);
        transform: translateY(-2px);
    }

    button:active {
        transform: translateY(1px);
    }

/* ---------------
   MAIN PAGE
   --------------- */
.btn-group {
    display: flex;
    flex-direction: column;
}

    .btn-group button {
        margin-bottom: 0.8rem;
    }

/* ---------------
   MISC
   --------------- */
p {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.95rem;
    color: #555;
}

/* Make sure inputs and buttons scale nicely on small screens */
@media (max-width: 480px) {
    .container {
        margin: 0.5rem;
        padding: 1.5rem;
    }

    button {
        font-size: 1rem;
        padding: 0.75rem;
    }
}
