/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 容器样式 */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: white;
    min-height: 100vh;
}

/* 头部样式 - App风格 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #667eea;
    color: white;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

/* App风格顶部栏按钮 */
.header-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* 适配顶部栏固定的内容边距 */
.container {
    padding-top: 70px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fafafa;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

/* 域名选择器样式 */
.domain-selector {
    margin-bottom: 20px;
}

.domain-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.domain-selector select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fafafa;
    cursor: pointer;
}

.domain-selector select:hover {
    border-color: #667eea;
}

.domain-selector select:focus {
    outline: none;
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

/* 按钮样式 */
.btn {
    background-color: #667eea;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background-color: #5a6fd8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.btn-primary {
    background-color: #667eea;
}

.btn-secondary {
    background-color: #43e97b;
}

.btn-danger {
    background-color: #f44336;
}

.btn-warning {
    background-color: #ff9800;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 卡片样式 */
.card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 链接样式 */
.link {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

.link:hover {
    text-decoration: underline;
}

/* 消息提示样式 */
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: bold;
}

.message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.message.error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

.message.info {
    background-color: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #2196f3;
}

/* 卡片式记录样式 */
.link-card {
    background-color: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.link-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.link-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.link-card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.link-card-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.link-card-status.active {
    background-color: #e8f5e9;
    color: #4caf50;
}

.link-card-status.expired {
    background-color: #ffebee;
    color: #f44336;
}

.link-card-status.blocked {
    background-color: #fff3e0;
    color: #ff9800;
}

.link-card-content {
    margin-bottom: 10px;
}

.link-card-url {
    font-size: 14px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 5px;
}

.link-card-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

/* 记录详情页样式 */
.record-detail {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.record-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.record-detail-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.record-detail-section {
    margin-bottom: 20px;
}

.record-detail-label {
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

.record-detail-value {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 底部导航栏样式 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

.bottom-nav-item {
    text-align: center;
    text-decoration: none;
    color: #666;
    flex: 1;
}

.bottom-nav-item i {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
}

.bottom-nav-item.active {
    color: #667eea;
}

.bottom-nav-item span {
    font-size: 12px;
    display: block;
}

/* 退出登录按钮样式 */
.logout-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logout-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* 内容区域需要留出底部导航栏的空间 */
.content {
    padding-bottom: 70px;
}

/* 短链结果样式 */
.short-link-result {
    background-color: #f0f4ff;
    border: 1px solid #e0e7ff;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.short-link-result h3 {
    margin-bottom: 10px;
    color: #667eea;
}

.short-link-result .link {
    display: block;
    margin-bottom: 10px;
    word-break: break-all;
}

/* 二维码预览样式 */
.qr-preview {
    text-align: center;
    margin: 20px 0;
}

.qr-preview img {
    max-width: 200px;
    height: auto;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
}

/* 颜色选择器样式 */
.color-picker-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.color-picker {
    flex: 1;
}

.color-picker input[type="color"] {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* 短链记录 */
.link-list {
    margin-top: 30px;
}

.links-section {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.links-section h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 24px;
    display: flex;
    align-items: center;
}

.links-section h2 i {
    margin-right: 10px;
    color: #667eea;
    font-size: 28px;
}

.link-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.link-item:hover {
    background-color: #f8f9ff;
    transform: translateX(5px);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.link-item:last-child {
    border-bottom: none;
}

.link-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.link-status.active {
    background-color: #e8f5e9;
    color: #43a047;
}

.link-status.expired {
    background-color: #ffebee;
    color: #e53935;
}

.link-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.link-original,
.link-short {
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-original i,
.link-short i {
    color: #667eea;
    font-size: 16px;
}

.link-original a,
.link-short a {
    color: #424242;
    text-decoration: none;
    word-break: break-all;
    font-size: 14px;
    transition: color 0.3s ease;
}

.link-original a:hover,
.link-short a:hover {
    color: #667eea;
}

.link-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.link-actions button {
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.link-actions .btn-copy {
    background-color: #e3f2fd;
    color: #1976d2;
}

.link-actions .btn-copy:hover {
    background-color: #bbdefb;
}

.link-actions .btn-edit {
    background-color: #fff3e0;
    color: #ff9800;
}

.link-actions .btn-edit:hover {
    background-color: #ffe0b2;
}

/* 编辑表单 */
.edit-link-form {
    background-color: #fafafa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    border: 1px solid #e0e0e0;
}

.edit-link-form .form-group {
    margin-bottom: 15px;
}

.edit-link-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.edit-link-form input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
}

.edit-link-form .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.edit-link-form .btn-save {
    background-color: #e8f5e9;
    color: #43a047;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.edit-link-form .btn-save:hover {
    background-color: #c8e6c9;
}

.edit-link-form .btn-cancel {
    background-color: #ffebee;
    color: #e53935;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.edit-link-form .btn-cancel:hover {
    background-color: #ffcdd2;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .links-section {
        padding: 20px;
    }
    
    .links-section h2 {
        font-size: 20px;
    }
    
    .link-item {
        padding: 15px;
    }
    
    .link-actions {
        flex-wrap: wrap;
    }
    
    .link-actions button {
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }
}

/* 状态标签样式 */
.status-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
}

.status-tag.active {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-tag.expired {
    background-color: #ffebee;
    color: #c62828;
}

.status-tag.blocked {
    background-color: #fff3e0;
    color: #ef6c00;
}

/* 代码雨动画容器样式 */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: -1;
}

/* 等待页面样式 */
.waiting-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 0 20px;
}

.waiting-page h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.waiting-page p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* 倒计时样式 */
.countdown {
    font-size: 48px;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    margin-bottom: 20px;
}

/* 进度条样式 */
.progress-bar-container {
    width: 100%;
    max-width: 300px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    height: 100%;
    background-color: #00ff00;
    border-radius: 5px;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        padding: 70px 15px 0;
    }
    
    .header h1 {
        font-size: 20px;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .countdown {
        font-size: 36px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* 复制按钮样式 */
.copy-btn {
    background-color: #43e97b;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 10px;
}

.copy-btn:hover {
    background-color: #3dd46e;
}

/* 结果卡片样式 */
.result-card {
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e7ff;
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.result-header h3 {
    color: #10b981;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-time {
    font-size: 12px;
    color: #9ca3af;
}

.result-content {
    margin-bottom: 20px;
}

.result-item {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.result-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.result-original {
    font-size: 14px;
    color: #374151;
    background-color: #f9fafb;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #d1d5db;
    word-break: break-all;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-short {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #eff6ff;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.result-short i {
    color: #3b82f6;
    font-size: 16px;
}

.result-short .short-link {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    word-break: break-all;
}

.result-short .short-link:hover {
    text-decoration: underline;
}

.result-short .copy-btn {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    margin: 0;
}

.result-short .copy-btn:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.result-expire {
    font-size: 14px;
    color: #10b981;
    font-weight: 600;
    background-color: #d1fae5;
    padding: 8px 12px;
    border-radius: 20px;
    display: inline-block;
    align-self: flex-start;
}

.result-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.view-all-btn {
    background-color: #667eea;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-all-btn:hover {
    background-color: #5a6fd8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

/* 个人资料样式 */
.user-profile {
    padding: 20px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e0e7ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.profile-info .username {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 4px 0;
}

.profile-info .join-date {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

.profile-actions {
    margin-bottom: 20px;
}

.edit-profile-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.edit-profile-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* VIP 相关样式 */
.vip-section {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.vip-status {
    text-align: center;
    margin-bottom: 25px;
}

.vip-status h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
}

.vip-status h3 i {
    margin-right: 10px;
    font-size: 28px;
}

.vip-status-normal {
    color: #fff;
    opacity: 0.8;
}

.vip-status-active {
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.vip-status-expired {
    color: #ff6b6b;
    opacity: 0.9;
}

.vip-status p {
    font-size: 14px;
    opacity: 0.9;
}

.vip-verify {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.vip-verify h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.vip-verify .form-group {
    margin-bottom: 15px;
}

.vip-verify input[type="text"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    color: #333;
}

.vip-verify input[type="text"]::placeholder {
    color: #999;
}

.vip-verify .btn-primary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vip-verify .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.edit-profile-form {
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-top: 20px;
}

.edit-profile-form .form-group {
    margin-bottom: 16px;
}

.edit-profile-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
}

.edit-profile-form input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.edit-profile-form input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.edit-profile-form input[type="file"] {
    border: 1px dashed #d1d5db;
    border-radius: 6px;
    padding: 10px;
    background-color: white;
    cursor: pointer;
}

.edit-profile-form .current-avatar {
    margin-top: 8px;
    font-size: 14px;
    color: #6b7280;
}

.edit-profile-form .current-avatar img {
    border-radius: 50%;
    border: 2px solid #e5e7eb;
}

.edit-profile-form .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.edit-profile-form .submit-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.edit-profile-form .submit-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
}

.edit-profile-form .cancel-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.edit-profile-form .cancel-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
}

/* 响应式调整 */
@media (max-width: 480px) {
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .result-card {
        padding: 16px;
    }
    
    /* 个人资料响应式 */
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    
    .profile-info h2 {
        font-size: 20px;
    }
    
    .edit-profile-form .form-actions {
        flex-direction: column;
    }
}