:root {
    --bg-gradient: #020817;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --primary-color: #000000;
    --error-color: #ef4444;
    --success-color: #10b981;
    --input-bg: #f9fafb;
    --input-border: #e5e7eb;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
}

.main-container {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    background: var(--card-bg);
    width: 100%;
    max-width: 480px;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease;
}


.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.row {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.input-group.small {
    flex: 0 0 80px;
}

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

input {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    border: 2px solid var(--input-border);
    background: var(--input-bg);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.2s;
    outline: none;
}

input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(118, 75, 162, 0.1);
}

input:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
    color: #9ca3af;
}

.status-message {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    height: 1.2rem;
    font-weight: 500;
    min-height: 1.2rem;
}

.status-message.error {
    color: var(--error-color);
}

.status-message.success {
    color: var(--success-color);
}

@media (max-width: 480px) {
    .card {
        padding: 1.5rem;
    }

    .row {
        flex-direction: column;
        gap: 1.25rem;
    }

    .input-group.small {
        flex: 1;
    }
}