
/* 确保导航栏固定在顶部，不随页面滚动 */
body[data-current-page="user"] .navbar {
    position: fixed; /* 固定定位，不随页面滚动 */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 20; /* 确保导航栏在背景卡片之上 */
    background-color: transparent;
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
/* 遮罩层（增强对比度） */
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(20,20,30,0.1) 100%);
}

/* 用户中心页面导航栏已通过全局样式设置 */

.user-center-container {
    min-height: calc(100vh - 60px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* 登录界面样式 - 未登录时居中 */
.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 60px);
    padding: 20px;
}

.login-box {
    display: flex;
    width: 800px;
    min-height: 420px;
    max-height: 90vh;
    background: transparent;
    border-radius: 16px;
    overflow: visible;
    position: relative;
}

.login-left {
    width: 55%;
    position: relative;
    overflow: hidden;
    align-self: stretch;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.login-right {
    width: 55%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-radius: 16px;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    min-height: 90%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.login-header {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ff8c42;
    font-size: 13px;
    font-weight: 500;
}

.login-logo i {
    font-size: 16px;
}

.login-form-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .login-form-box {
        margin-top: 20px;
    }
}

.login-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    position: relative;
    display: inline-block;
}

.login-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #ff6b9d, #ff8e8e);
    border-radius: 2px;
}

.login-subtitle {
    font-size: 13px;
    color: #222;
    margin-bottom: 15px;
    margin-top: 6px;
    font-weight: 500;
}

.login-subtitle a {
    color: #e91e63;
    text-decoration: none;
    font-weight: 600;
}

.login-subtitle a:hover {
    text-decoration: underline;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    color: #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.form-group input::placeholder {
    color: #555;
    font-size: 13px;
}

.login-options {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 5px;
}

.login-options a {
    font-size: 12px;
    color: #555;
    text-decoration: none;
}

.login-options a:hover {
    color: #ff6b9d;
}

/* QQ 登录按钮 */
.login-social-divider {
    display: flex;
    align-items: center;
    margin: 18px 0 14px;
    color: #999;
    font-size: 12px;
}
.login-social-divider::before,
.login-social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}
.login-social-divider span {
    padding: 0 14px;
    white-space: nowrap;
}
.login-qq-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 9px 20px;
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    background: #fff;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    box-sizing: border-box;
}
.login-qq-btn:hover {
    border-color: #12b7f5;
    color: #12b7f5;
    background: #f0faff;
}
.login-qq-btn svg {
    color: #12b7f5;
}

.login-btn {
    width: 100%;
    padding: 10px 24px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
}

.login-error {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #ff4d4f;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 12px;
}

.login-success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 12px;
}

/* 用户信息界面样式 */
.user-profile-container {
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.user-profile-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #ffecd2 100%);
    padding: 60px 40px 40px;
    text-align: center;
    position: relative;
}

.user-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #fff;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    background: #f0f0f0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.user-profile-body {
    padding: 40px;
}

/* 用户中心新样式 - 毛玻璃效果 */
.user-center-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 顶部标签页 */
.user-tabs {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 80px 0 20px 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    max-width: 1200px;
}

.user-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.user-tab:hover {
    color: #333;
}

.user-tab.active {
    color: #ff6b9d;
}

.user-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: #ff6b9d;
}

/* 面板内容 */
.user-panel {
    display: none;
}

.user-panel.active {
    display: block;
}

/* 毛玻璃卡片 */
.user-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 30px 40px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 1200px;
    min-height: calc(100vh - 200px);
}

.user-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

/* 大头像 */
.user-avatar-large {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: visible;
    margin: 0 auto 25px;
    border: 4px solid #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    cursor: pointer;
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* 相机图标 */
.avatar-camera-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: #ff6b9d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(255, 107, 157, 0.5);
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-size: 12px;
}

.avatar-overlay i {
    font-size: 32px;
    margin-bottom: 6px;
}

.user-avatar-large:hover .avatar-overlay {
    opacity: 1;
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 信息表单 */
.user-info-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    max-width: 100%;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.info-row {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    gap: 12px;
    transition: all 0.3s ease;
}

.info-row:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.info-row label {
    min-width: 80px;
    width: 80px;
    color: #667eea;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    margin-right: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-row label i {
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.info-row span {
    flex: 1;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    word-break: break-word;
    line-height: 1.5;
}

.info-row input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    transition: all 0.3s ease;
}

.info-row input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.info-row input[type="text"]::placeholder {
    color: #bbb;
}

.badge {
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 10px;
    margin-left: 6px;
}

.badge.verified {
    background: #ff9500;
    color: #fff;
}

/* 修改按钮 */
.edit-btn {
    display: block;
    width: 100px;
    margin: 0 auto;
    padding: 8px 20px;
    background: #8b9dc3;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-btn:hover {
    background: #7a8db3;
}

/* 安全设置列表 */
.security-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.security-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.security-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    color: #667eea;
    margin-right: 16px;
}

.security-item span:nth-child(2) {
    flex: 1;
    color: #333;
    font-size: 14px;
}

.security-item .status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 16px;
}

.security-item .status.safe {
    background: #f6ffed;
    color: #52c41a;
}

.security-item .status.unsafe {
    background: #fff2f0;
    color: #ff4d4f;
}

.security-item a {
    color: #667eea;
    font-size: 13px;
    text-decoration: none;
}

.security-item a:hover {
    text-decoration: underline;
}

/* 立即开通按钮 */
.security-item a.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.security-item a.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
    text-decoration: none;
}

/* 安全区域（在个人信息卡片内） */
.security-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.security-section h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-section h3 i {
    color: #667eea;
}

/* 开通站点表单 */
.register-site-form {
    max-width: 500px;
    margin: 0 auto;
}

.register-site-form .form-group {
    margin-bottom: 20px;
}

.register-site-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.register-site-form .required {
    color: #e74c3c;
}

.register-site-form input[type="text"],
.register-site-form input[type="password"],
.register-site-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.register-site-form input:focus,
.register-site-form select:focus {
    border-color: #667eea;
    outline: none;
}

.register-site-form .domain-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.register-site-form .domain-input input {
    flex: 1;
}

.register-site-form .domain-dot {
    color: #666;
    font-weight: 600;
}

.register-site-form .domain-input select {
    width: auto;
    min-width: 140px;
}

.register-site-form .form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #999;
}

.register-site-form .form-info {
    background: #f0f7ff;
    border: 1px solid #d0e3ff;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.register-site-form .form-info p {
    margin: 0;
    font-size: 13px;
    color: #4a6fcb;
}

.register-site-form .form-info i {
    margin-right: 6px;
}

.register-site-form .form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.register-site-form .btn-secondary {
    padding: 10px 30px;
    background: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.register-site-form .btn-secondary:hover {
    background: #e0e0e0;
}

.register-site-form .btn-primary {
    padding: 10px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.register-site-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

/* 续费表单按钮样式 */
.renew-form .form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.renew-form .btn-secondary {
    padding: 10px 30px;
    background: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.renew-form .btn-secondary:hover {
    background: #e0e0e0;
}

.renew-form .btn-primary {
    padding: 10px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.renew-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

/* 操作链接行 */
.user-actions-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.user-actions-row .edit-btn {
    margin: 0;
    width: auto;
    min-width: 100px;
}

.action-link {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.action-link:hover {
    color: #667eea;
}

.action-link.logout {
    color: #ff4d4f;
}

.action-link.logout:hover {
    color: #ff7875;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #ddd;
}

.empty-state p {
    font-size: 14px;
}

/* 订阅文章列表样式 */
.subscription-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.subscription-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.subscription-item:hover {
    background: #f0f2f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.subscription-item-cover {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
    flex-shrink: 0;
}

.subscription-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.subscription-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.subscription-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #999;
}

.subscription-item-category {
    background: #ff8c00;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.subscription-item-cancel {
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    align-self: center;
}

.subscription-item-cancel:hover {
    background: #ff4d4f;
    color: white;
    border-color: #ff4d4f;
}

@media (max-width: 768px) {
    .subscription-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .subscription-item-cover {
        width: 100%;
        height: 150px;
    }
    
    .subscription-item-cancel {
        align-self: flex-end;
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    /* 移动端样式 */
    body[data-current-page="user"] {
        padding-top: 0 !important;
    }
    
   
    
    body[data-current-page="user"] .content {
        padding: 0 !important;
        min-height: 100vh !important;
    }
    
    body[data-current-page="user"] .user-center-container {
        min-height: 100vh;
        padding-top: 60px;
        box-sizing: border-box;
    }
    
    body[data-current-page="user"] #content {
        padding: 0 !important;
    }
    @media (max-width: 768px) {
        body[data-current-page="user"] #content {
            padding-bottom: 54px !important;
        }
        body[data-current-page="user"] .mobile-bottom-nav {
            display: flex !important;
        }
    }
    
    body[data-current-page="user"] .login-wrapper {
        padding-top: 20px;
    }
    
    .login-box {
        width: 100%;
        height: auto;
        min-height: auto;
        flex-direction: column;
        box-shadow: none;
        border-radius: 0;
    }
    
    .login-left {
        display: none;
    }

    .login-wrapper {
        min-height: auto;
        padding: 0 15px;
        align-items: center;
        justify-content: center;
        display: flex;
    }
    
    .login-right {
        width: 90%;
        max-width: 400px;
        padding: 25px 20px;
        background: rgba(255, 255, 255, 0.55);
        backdrop-filter: blur(50px) saturate(220%);
        -webkit-backdrop-filter: blur(50px) saturate(220%);
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        min-height: auto;
        margin: 0 auto;
        left: auto !important;
    }
    
    /* 用户中心移动端适配 */
    .user-tabs {
        gap: 10px;
        padding: 0 10px;
        margin: 10px 15px 15px 15px;
        border-radius: 12px;
        flex-wrap: nowrap;
    }
    .user-tabs .user-tab {
        white-space: nowrap;
        padding: 10px 8px;
        font-size: 13px;
    }
    
    .user-tab {
        padding: 12px 10px;
        font-size: 13px;
    }
    
    .user-card {
        padding: 20px 15px;
        min-height: auto;
        margin: 0 15px;
        border-radius: 16px;
    }
    
    .user-avatar-large {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }

    .avatar-camera-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-width: 2px;
    }

    .avatar-overlay i {
        font-size: 24px;
    }
    
    .user-info-form {
        max-width: 100%;
        padding: 0;
        gap: 10px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 14px;
        margin-bottom: 0;
    }

    .info-row label {
        width: auto;
        min-width: auto;
        text-align: left;
        margin-right: 0;
        font-size: 12px;
        color: #667eea;
    }

    .info-row span {
        font-size: 15px;
        width: 100%;
    }
    
    .info-row input[type="text"] {
        width: 100%;
        padding: 10px 12px;
    }
    
    .security-item {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .security-item i {
        width: 32px;
        height: 32px;
    }
    
    .security-item span:nth-child(2) {
        font-size: 13px;
    }
    
    .security-item .status {
        margin-left: auto;
    }
    
    .security-item a.btn-primary {
        padding: 8px 14px;
        font-size: 12px;
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }
    
    .security-section {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .security-section h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .register-site-form .domain-input {
        flex-direction: column;
        align-items: stretch;
    }
    
    .register-site-form .domain-dot {
        display: none;
    }
    
    .register-site-form .domain-input select {
        width: 100%;
    }
    
    .register-site-form .form-actions {
        flex-direction: column;
    }
    
    .register-site-form .btn-secondary,
    .register-site-form .btn-primary {
        width: 100%;
    }
    
    .user-actions-row {
        flex-direction: row;
        gap: 15px;
        flex-wrap: nowrap;
    }

    .user-actions-row .edit-btn,
    .user-actions-row .action-link {
        flex: 1;
        min-width: 0;
        white-space: nowrap;
    }

    .action-link {
        padding: 10px 20px;
        text-align: center;
        background: #f5f5f5;
        border-radius: 6px;
        display: inline-block;
    }
}

/* Toast 提示动画 */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    10% { opacity: 1; transform: translateX(-50%) translateY(0); }
    90% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}
