/* assets/css/register.css - 注册页专用样式 */

.register-page-container {
    background-color: var(--light-color);
    padding: 0;
}

.register-page-container .container {
    height: 100%;
}

.register-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--white-color);
    max-width: 500px;
    margin: 0 auto;
}

.register-card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d95e8 100%);
    color: white;
    border-radius: 12px 12px 0 0 !important;
    padding: 1.5rem;
    text-align: center;
}

.register-card-body {
    padding: 2rem;
}

.register-card .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.register-card .input-group {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    height: 45px;
}

.register-card .input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(29, 161, 242, 0.15);
}

.register-card .input-group-text {
    background: #f8f9fa;
    border: none;
    color: #6c757d;
    font-size: 1rem;
    padding: 0 1rem;
    width: 50px;
    justify-content: center;
}

.register-card .form-control {
    border: none;
    background: transparent;
    font-size: 1rem;
    padding: 0.75rem 1rem;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d95e8 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    height: 45px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
}

.btn-register:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
}

.btn-register:disabled {
    background: #6c757d;
    transform: none;
    box-shadow: none;
}

.register-card .form-text {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.register-card .mb-3 {
    margin-bottom: 1rem !important;
}

.register-card .mb-4 {
    margin-bottom: 1.5rem !important;
}

.register-card .alert {
    border-radius: 8px;
    border: none;
}

.register-card .alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .register-card {
        max-width: 450px;
        margin: 1rem;
    }
    
    .register-card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .register-card {
        max-width: 380px;
        margin: 0.5rem;
    }
    
    .register-card-body {
        padding: 1.25rem;
    }
    
    .register-card .input-group {
        height: 42px;
    }
    
    .btn-register {
        height: 42px;
    }
}
