/* R2RC Onboarding Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #059669;
    --warning: #d97706;
    --error: #dc2626;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
}

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

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

header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--gray-600);
}

/* Form Styles */
form {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

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

input, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

select {
    background: white;
    cursor: pointer;
}

/* Buttons */
button, .btn-primary {
    display: inline-block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
    text-decoration: none;
}

button:hover, .btn-primary:hover {
    background: var(--primary-dark);
}

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

/* Info Box */
.info-box {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.info-box strong {
    display: block;
    margin-bottom: 0.5rem;
}

.info-box ol, .info-box ul {
    margin-left: 1.25rem;
}

.info-box li {
    margin-bottom: 0.25rem;
}

/* Messages */
.error {
    background: #fef2f2;
    color: var(--error);
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Success Panel */
.success-panel {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.success-icon {
    width: 48px;
    height: 48px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.success-icon.large {
    width: 64px;
    height: 64px;
    font-size: 2rem;
}

.warning-icon {
    width: 64px;
    height: 64px;
    background: var(--warning);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.success-panel h2 {
    margin-bottom: 0.5rem;
}

.success-panel p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Center Content */
.center-content {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.center-content h1 {
    margin-bottom: 0.5rem;
}

.lead {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.center-content .info-box {
    text-align: left;
    margin: 1.5rem 0;
}

.center-content .info-box h3 {
    margin-bottom: 0.75rem;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

footer a {
    color: var(--primary);
}

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

    header h1 {
        font-size: 1.5rem;
    }
}
