:root {
    --primary-color: #3a86ff;
    --secondary-color: #0466c8;
    --text-color: #333333;
    --background-color: #f8f9fa;
    --card-color: #ffffff;
    --error-color: #e63946;
    --success-color: #38b000;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.4;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 80px; /* Space for fixed logo */
}

.logo-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-container.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo {
    max-height: 50px;
    object-fit: contain;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.75rem;
}

.description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.card {
    background-color: var(--card-color);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background-color: rgba(255, 255, 255, 0.8);
}

input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.15);
    background-color: white;
}

.error-message {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.35rem;
    display: none;
}

.privacy-notice {
    background-color: rgba(58, 134, 255, 0.05);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    color: #666;
    border-left: 3px solid var(--primary-color);
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

button:hover {
    background-color: var(--secondary-color);
}

button:active {
    transform: translateY(1px);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#success-message, #error-message {
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 6px;
    display: none;
    font-weight: 500;
}

#success-message {
    background-color: rgba(56, 176, 0, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(56, 176, 0, 0.2);
}

#error-message {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(230, 57, 70, 0.2);
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 0.5rem;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

footer {
    text-align: center;
    margin-top: 2rem;
    color: #999;
    font-size: 0.8rem;
}

/* Responsive styles */
@media (max-width: 640px) {
    .card {
        padding: 1.5rem;
    }
    
    .container {
        padding: 1.5rem 1rem;
    }
}