/* Registration-specific styles (extracted from inline <style> in registration.html) */
.registration-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    min-height: calc(100vh - 200px);
}

.registration-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    max-width: 480px;
    width: 100%;
    padding: 2.5rem;
}

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

.registration-header__logo {
    margin-bottom: 1.5rem;
}

.registration-header__logo img {
    height: 32px;
}

.registration-header__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.registration-header__subtitle {
    color: #666;
    font-size: 0.95rem;
}

.registration-step {
    display: none;
}

.registration-step.active {
    display: block;
}

.registration-form__field {
    margin-bottom: 1.25rem;
}

.registration-form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.registration-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.registration-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.registration-input.error {
    border-color: #dc3545;
}

.registration-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

.registration-select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.registration-submit {
    width: 100%;
    padding: 1rem;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.registration-submit:hover:not(:disabled) {
    background: #0052a3;
}

.registration-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.registration-submit.loading {
    position: relative;
    color: transparent;
}

.registration-submit.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.form-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.registration-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.registration-divider__line {
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.registration-divider__text {
    padding: 0 1rem;
    color: #888;
    font-size: 0.875rem;
}

.social-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: background 0.2s, border-color 0.2s;
}

.social-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.auth-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-option {
    padding: 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.auth-option:hover {
    border-color: #0066cc;
    background: #f8fafc;
}

.auth-option.selected {
    border-color: #0066cc;
    background: #f0f7ff;
}

.auth-option__title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.auth-option__desc {
    font-size: 0.875rem;
    color: #666;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #0066cc;
    cursor: pointer;
}

.checkbox-field label {
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-field a {
    color: #0066cc;
    text-decoration: underline;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: background 0.3s;
}

.step-dot.active {
    background: #0066cc;
}

.step-dot.completed {
    background: #28a745;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: color 0.2s;
}

.back-link:hover {
    color: #0066cc;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-error {
    background: #fef2f2;
    color: #dc3545;
    border: 1px solid #fee2e2;
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #dbeafe;
}

.password-requirements {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    color: #16a34a;
}

.name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .name-row {
        grid-template-columns: 1fr;
    }
}

.hidden {
    display: none !important;
}

.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.2s, background 0.2s;
}

.radio-option:hover {
    border-color: #0066cc;
    background: #f8fafc;
}

.radio-option:has(input:checked) {
    border-color: #0066cc;
    background: #f0f7ff;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #0066cc;
    cursor: pointer;
    margin: 0;
}

.radio-option span {
    font-size: 0.95rem;
    color: #333;
}
