:root {
    --green: #00a676;
    --light-gray: #f4f4f4;
    --dark-gray: #555;
    --white: #fff;
    --red: #e63946;
}

body {
    font-family: system-ui, sans-serif;
    background: var(--light-gray);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
}

h1 {
    margin-top: 0;
    color: var(--green);
    text-align: center;
}

p {
    text-align: center;
    color: var(--dark-gray);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-weight: 600;
}

input[type="url"],
input[type="email"] {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
}

input[type="url"]:focus,
input[type="email"]:focus {
    border-color: var(--green);
    outline: none;
}

.consent {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    gap: 0.4rem;
}

button {
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 0.8rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #008a63;
}

#message {
    text-align: center;
    margin-top: 1rem;
}

.hidden {
    display: none;
}

.success {
    color: var(--green);
}

.error {
    color: var(--red);
}