/* 公共样式 - 设计师网站 */

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* 顶部导航栏 */
.top-nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 70px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
}

.logo:hover {
    color: #fff;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    border-bottom: 2px solid #fff;
    color: #fff;
}

.nav-menu .btn-login {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 20px;
    border-bottom: none;
}

.nav-menu .btn-login:hover {
    background: rgba(255,255,255,0.3);
    border-bottom: none;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

/* 卡片样式 */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* 标题样式 */
.page-title {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    /*margin-top: 50px;*/
}

.footer p {
    margin: 5px 0;
    opacity: 0.8;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    
    .nav-menu {
        margin-top: 15px;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .container {
        padding: 15px;
    }
    
    .page-title {
        font-size: 24px;
    }
}

/* 状态标签 */
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #cfe2ff;
    color: #084298;
}

.status-completed {
    background: #d1e7dd;
    color: #0f5132;
}

.status-paid {
    background: #e7d1f9;
    color: #6f42c1;
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 40px;
    color: #999;
}
