:root {
    --primary: #2563eb;
    --primary-light: #dbeafe;
    --primary-dark: #1e40af;
    --secondary: #4b5563;
    --accent: #8b5cf6;
    --background: #ffffff;
    --surface: #f9fafb;
    --on-primary: #ffffff;
    --on-surface: #111827;
    --on-background: #1f2937;
    --error: #ef4444;
    --success: #10b981;
    --border: #e5e7eb;
    
    --font-body: 'Urbanist', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: var(--font-body);
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: var(--background);
}

#response {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    background-color: var(--surface);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary);
}

input:not([type="checkbox"]) {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background-color: white;
    color: var(--on-background);
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:not([type="checkbox"]):focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

input:not([type="checkbox"]):hover {
    border-color: var(--primary);
}

input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--primary);
    margin-right: 0.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--secondary);
    flex: 1;
}

input[type="submit"] {
    background-color: var(--primary);
    color: var(--on-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    margin-top: 0.5rem;
}

input[type="submit"]:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: none;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Validation styles */
input:not([type="checkbox"]):invalid:not(:placeholder-shown) {
    border-color: var(--error);
}

input:not([type="checkbox"]):valid:not(:placeholder-shown) {
    border-color: var(--success);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    form {
        padding: 1rem;
    }
    
    input:not([type="checkbox"]) {
        padding: 0.6rem;
    }
}