.register-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.register-container {
    background: white;
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.page-header {
    background: var(--success-gradient);
    color: white;
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: #11998e;
}

.form-control {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #11998e;
    box-shadow: 0 0 0 0.25rem rgba(17, 153, 142, 0.25);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-gradient);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.3);
    width: 100%;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.4);
}

.btn-outline-primary {
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
}

.text-danger {
    color: #dc3545 !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.alert {
    border-radius: 12px;
    border: none;
}

.info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    border-left: 4px solid #2196f3;
}

.info-box h6 {
    color: #1976d2;
}

.info-box ul {
    color: #424242;
}

/* Тёмная тема: этот файл грузится после site-core/AdminLTE — фиксируем .info-box здесь */
html[data-theme="dark"] .register-page .info-box,
html[data-bs-theme="dark"] .register-page .info-box {
    background: linear-gradient(145deg, rgba(33, 150, 243, 0.16) 0%, rgba(25, 118, 210, 0.07) 100%) !important;
    border-left: 4px solid #42a5f5 !important;
    border-top: 1px solid rgba(66, 165, 245, 0.22) !important;
    border-right: 1px solid rgba(66, 165, 245, 0.12) !important;
    border-bottom: 1px solid rgba(66, 165, 245, 0.12) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .register-page .info-box h6,
html[data-bs-theme="dark"] .register-page .info-box h6 {
    color: #90caf9 !important;
}

html[data-theme="dark"] .register-page .info-box ul,
html[data-bs-theme="dark"] .register-page .info-box ul {
    color: #c5cdd8 !important;
}
