.registration-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--bg-page), var(--bg-sidebar));
}

.registration-container {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border-color-strong);
    border-radius: var(--radius-card);
    padding: var(--space-xl);
    box-shadow: var(--shadow-medium);
}

.logo-section {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.logo-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, var(--accent-primary), #FF9A3D);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-button);
    font-size: 28px;
    box-shadow: var(--shadow-light);
}

.logo-section h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.form-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.form-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group label i {
    width: 16px;
    text-align: center;
    color: var(--accent-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-content);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-input);
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-focus);
}

.form-group input::placeholder {
    color: var(--text-tertiary);
}

.error-message {
    color: var(--accent-danger);
    font-size: 0.75rem;
    margin-top: 4px;
    min-height: 16px;
}

.form-footer {
    margin-top: var(--space-xl);
}

.btn-primary {
    width: 100%;
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--accent-primary), #FF9A3D);
    border: none;
    border-radius: var(--radius-input);
    color: var(--text-button);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

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

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

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

.notice {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: rgba(90, 141, 238, 0.1);
    border: 1px solid rgba(90, 141, 238, 0.3);
    border-radius: var(--radius-input);
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.4;
}

.success-section {
    text-align: center;
    padding: var(--space-lg) 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.15);
    border: 2px solid var(--accent-success);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-success);
    font-size: 36px;
}

.success-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.success-message {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.5;
}

.btn-secondary {
    padding: var(--space-sm) var(--space-xl);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-input);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin: 0 auto;
}

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

.footer-links {
    margin-top: var(--space-lg);
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.footer-links p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.footer-links a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 480px) {
    .registration-container {
        padding: var(--space-lg);
    }
    
    .logo-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .logo-section h1 {
        font-size: 1.5rem;
    }
}
