/**
 * Main Stylesheet
 * Base styles for survey application
 */

:root {
    --primary-color: #00bf63;
    --primary-hover: #00a050;
    --secondary-color: #6b7280;
    --text-color: #111111;
    --text-muted: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f8faf8;
    --border-color: #e5e7eb;
    --error-color: #ef4444;
    --success-color: #10b981;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(17, 17, 17, 0.06);
    --shadow-hover: 0 8px 32px rgba(0, 191, 99, 0.12);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

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

.header {
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.header-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.btn-primary:disabled {
    background: var(--secondary-color);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.error-message {
    background: #fee2e2;
    color: var(--error-color);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border-left: 4px solid var(--error-color);
}

.success-message {
    background: #d1fae5;
    color: var(--success-color);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
}

.success-message h2 {
    margin-bottom: 0.5rem;
    color: var(--success-color);
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }
    
    .header {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }
}
