/* Body + page centering */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Form card */
form {
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    max-width: 400px;
    width: 100%;
    display: block; /* ensures internal layout is block-based */
}

/* Title */
form h1 {
    text-align: center;
    width: 100%;
    margin-bottom: 1.5rem;
}

/* Labels and inputs */
label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-align: left; /* labels remain left-aligned for readability */
}

/* Text inputs, textarea, select dropdowns */
input[type="text"],
textarea,
select {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.25rem;
    border: none;
    border-radius: 6px;
    background-color: #2a2a2a;
    color: #f0f0f0;
    font-size: 0.95rem;
    box-sizing: border-box; /* Ensures padding/border doesn’t break width */
    resize: none;
}

/* Placeholder text */
input[type="text"]::placeholder,
textarea::placeholder {
    color: #999;
}

/* Submit button */
button {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    background-color: #3b82f6; /* nice blue */
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #2563eb;
}
