body {
            background: linear-gradient(135deg, #ffffff 100%, #f0f0f0 0%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .register-container {
            max-width: 500px;
            width: 100%;
            margin: 0 auto;
        }

        /* 顶部品牌区 */
        .brand-section {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .brand-badge {
            display: inline-block;
            background: #66ccff;
            color: white;
            padding: 0.375rem 0.875rem;
            border-radius: 2rem;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
        }

        .brand-title {
            font-size: 2rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 0.75rem;
        }

        .brand-subtitle {
            color: #555;
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }

        /* 中部表单区 */
        .form-section {
            background: white;
            border-radius: 1rem;
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
            padding: 2rem;  /* 从2.5rem缩小 */
            margin-bottom: 1.5rem;
        }

        .form-title {
            text-align: center;
            margin-bottom: 1.5rem;
            color: #333;
            font-weight: 700;
            font-size: 1.5rem;
        }

        .form-subtitle {
            text-align: center;
            color: #666;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
        }

        .form-group {
            margin-bottom: 1.2rem;
        }

        .form-label {
            font-weight: 600;
            margin-bottom: 0.4rem;
            color: #333;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .required-mark {
            color: #ff4d6d;
            font-size: 1rem;
        }

        .form-control {
            border: 2px solid #e9ecef;
            border-radius: 0.75rem;
            padding: 0.7rem 1rem;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            border-color: #ff4d6d;
            box-shadow: 0 0 0 0.2rem rgba(255, 77, 109, 0.15);
            transform: translateY(-1px);
        }

        .form-control.is-invalid {
            border-color: #dc3545;
            box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
        }

        .form-control.is-valid {
            border-color: #28a745;
            box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
        }

        .form-text {
            font-size: 0.8rem;
            margin-top: 0.2rem;
            color: #6c757d;
            min-height: 1rem;
        }

        .input-feedback {
            font-size: 0.8rem;
            margin-top: 0.2rem;
            min-height: 1rem;
            transition: all 0.3s ease;
        }

        .input-feedback.text-danger {
            color: #dc3545;
        }

        .input-feedback.text-success {
            color: #28a745;
        }

        .input-feedback.text-warning {
            color: #fd7e14;
        }

        /* 密码强度指示器 */
        .password-strength {
            margin-top: 0.4rem;
            height: 4px;
            background-color: #e9ecef;
            border-radius: 2px;
            overflow: hidden;
        }

        .password-strength-bar {
            height: 100%;
            width: 0%;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        .password-strength-bar.weak {
            width: 33%;
            background-color: #dc3545;
        }

        .password-strength-bar.medium {
            width: 66%;
            background-color: #fd7e14;
        }

        .password-strength-bar.strong {
            width: 100%;
            background-color: #28a745;
        }

        .form-divider {
            margin: 1.5rem 0;
            text-align: center;
            position: relative;
        }

        .form-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background-color: #e9ecef;
        }

        .form-divider span {
            background-color: white;
            padding: 0 1rem;
            position: relative;
            color: #6c757d;
            font-size: 0.8rem;
        }

        .btn-register {
            background: linear-gradient(135deg, #ff4d6d 0%, #d90452 100%);
            border: none;
            width: 100%;
            padding: 0.8rem;
            font-size: 1rem;
            font-weight: 600;
            color: white;
            border-radius: 0.75rem;
            transition: all 0.3s ease;
            margin-bottom: 0.8rem;
        }

        .btn-register:hover:not(:disabled) {
            background: #3399cc;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(217, 4, 82, 0.3);
        }

        .btn-register:disabled {
            background: #ccc;
            transform: none;
            box-shadow: none;
            cursor: not-allowed;
            opacity: 0.6;
        }

        .loading-spinner {
            display: none;
            width: 1rem;
            height: 1rem;
            border: 2px solid #f3f3f3;
            border-top: 2px solid #3399cc;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 0.5rem;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* 底部提示区 */
        .footer-section {
            text-align: center;
            padding: 1.2rem;
            background: white;
            border-radius: 1rem;
            box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        }

        .footer-text {
            color: #666;
            font-size: 0.85rem;
            margin-bottom: 0.8rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: #ff4d6d;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.85rem;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            text-decoration: underline;
            transform: translateY(-1px);
        }

        .alert {
            border-radius: 0.75rem;
            border: none;
            padding: 0.75rem 1rem;
            margin-bottom: 1.2rem;
            font-size: 0.9rem;
        }

        .alert-danger {
            background-color: #fee;
            color: #dc3545;
            border-left: 4px solid #dc3545;
        }

        .alert-success {
            background-color: #e8f5e8;
            color: #28a745;
            border-left: 4px solid #28a745;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .brand-title {
                font-size: 1.6rem;
            }

            .form-section {
                padding: 1.2rem;
            }

            .register-container {
                max-width: 95%;
            }

            .footer-links {
                flex-direction: column;
                gap: 0.8rem;
            }
        }
