/* --- 1. Import a modern font to match the "tech" look --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    /* --- 2. Use the "Inter" font and set up the dark theme --- */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #121212; /* Dark background */
    color: #f0f0f0; /* Light text */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    /* --- 3. Style the form "card" --- */
    background-color: #1e1e1e; /* Slightly lighter dark for the card */
    padding: 2.5rem; /* A bit more padding */
    border-radius: 16px; /* More rounded corners */
    border: 1px solid #333; /* Subtle border */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); /* Dark shadow */
    max-width: 500px;
    width: 100%;
}

h2 {
    text-align: center;
    color: #ffffff; /* Pure white heading */
    margin-bottom: 2rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #a0a0a0; /* Lighter gray for labels */
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    /* --- 4. Style the input fields for dark mode --- */
    width: 100%;
    padding: 0.85rem;
    box-sizing: border-box;
    border: 1px solid #444; /* Dark border */
    border-radius: 8px; /* Softer corners */
    font-size: 1rem;
    background-color: #252525; /* Dark input background */
    color: #ffffff; /* White input text */
    transition: all 0.2s ease-in-out;
}

/* --- 5. Add a "focus" effect to inputs --- */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff; /* White border on focus */
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1); /* Subtle white glow */
}

.form-group small {
    display: block;
    margin-top: 0.35rem;
    color: #777; /* Darker gray for help text */
}

button {
    /* --- 6. Re-style the button to match the screenshot --- */
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 50px; /* Pill-shaped button */
    background-color: #ffffff; /* White background */
    color: #121212; /* Dark text */
    font-size: 1rem;
    font-weight: 700; /* Bolder text */
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem; /* Add some space above the button */
}

button:hover {
    background-color: #e6e6e6; /* Slightly gray on hover */
}

/* --- 7. Style the success/error messages --- */
#message {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.success {
    color: #4CAF50; /* Brighter success green */
}

.error {
    color: #f44336; /* Brighter error red */
}