*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #F5F0E8;
    --cream-dark: #E8E0D0;
    --navy: #1a1f36;
    --navy-hover: #252b48;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-300: #d1d1d1;
    --gray-500: #888888;
    --gray-700: #444444;
    --black: #0a0a0a;
    --blue: #4DA6FF;
    --blue-glow: rgba(77, 166, 255, 0.8);
    --red: #e74c3c;
    --green: #27ae60;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --radius: 12px;
    --shadow: 0 2px 16px rgba(0,0,0,0.08);
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    line-height: 1.5;
    color: var(--gray-700);
}

a { color: inherit; text-decoration: none; }

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

input {
    font-family: inherit;
    outline: none;
    border: none;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--navy);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--navy-hover);
}

.input-field {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.95rem;
    background: var(--white);
    transition: border-color 0.2s;
}

.input-field:focus {
    border-color: var(--navy);
}

.input-field::placeholder {
    color: var(--gray-500);
}

.error-text {
    color: var(--red);
    font-size: 0.85rem;
    margin-top: 4px;
    display: none;
}

.error-text.visible {
    display: block;
}
