:root {
    --bg: #2b3038;
    --card: #363c46;
    --field: #2f353e;
    --border: #454c58;
    --text: #e8eaed;
    --muted: #9aa3af;
    --accent: #4a90d9;
    --accent-hover: #5ba0e9;
}

* { box-sizing: border-box; }

body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 2rem 1rem;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.wrap {
    width: 100%;
    max-width: 560px;
}

h2 {
    font-weight: 600;
    font-size: 1.75rem;
    margin: 0 0 0.25rem;
    text-align: center;
}

.sub {
    color: var(--muted);
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    text-align: center;
}

.card {
    background: var(--card);
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

label {
    display: block;
    margin-top: 1.1rem;
    font-weight: 600;
    font-size: 0.95rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.85rem 0.9rem;
    margin-top: 0.4rem;
    font-size: 1.05rem;
    color: var(--text);
    background: var(--field);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa3af' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(74,144,217,0.25);
}

input:disabled, select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

textarea { resize: vertical; min-height: 90px; }

button {
    margin-top: 1.75rem;
    width: 100%;
    padding: 0.95rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
}

button:hover { background: var(--accent-hover); }
button:active { transform: translateY(1px); }

#status {
    display: none;
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: rgba(74,144,217,0.15);
    border: 1px solid var(--accent);
    font-weight: 600;
}
