/* 远辰音乐人代理入驻平台 - 现代化中国风样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c8453a;
    --secondary-color: #d4976c;
    --accent-color: #2a7e5f;
    --gold-color: #d4a96a;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f5f0;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --border-color: #e0d5c7;
    --success-color: #52a56e;
    --error-color: #d64545;
    --warning-color: #e89e3c;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--light-bg);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 169, 106, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(200, 69, 58, 0.05) 0%, transparent 50%);
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), #a83c33);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.admin-nav {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.user-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.btn-logout {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px !important;
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #a83c33);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(212, 169, 106, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    letter-spacing: 1px;
}

.btn-hero {
    background: white;
    color: var(--primary-color);
    padding: 15px 50px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* 功能区域 */
.features,
.steps {
    padding: 80px 20px;
    background: white;
}

.steps {
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-color));
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(200, 69, 58, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 步骤区域 */
.steps-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
}

.step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--gold-color);
    font-weight: bold;
}

/* CTA区域 */
.cta {
    background: linear-gradient(135deg, var(--accent-color), #1f5d47);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-cta {
    background: var(--gold-color);
    color: white;
    padding: 15px 50px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    background: #c59450;
    transform: translateY(-3px);
}

/* 页脚 */
.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 30px 20px;
    text-align: center;
}

.footer a {
    color: var(--gold-color);
    text-decoration: none;
    margin-left: 10px;
}

.footer a:hover {
    color: white;
}

/* 认证表单卡片 */
.auth-card,
.apply-card,
.action-card {
    max-width: 500px;
    margin: 50px auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.apply-card,
.detail-card {
    max-width: 800px;
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), #a83c33);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.card-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.auth-form,
.apply-form {
    padding: 40px 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(200, 69, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background: #a83c33;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 69, 58, 0.3);
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #458e5c;
}

.btn-danger {
    background: var(--error-color);
    color: white;
}

.btn-danger:hover {
    background: #b83939;
}

.btn-secondary {
    background: #999;
    color: white;
}

.btn-secondary:hover {
    background: #777;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* 提示信息 */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-error {
    background: #ffe5e5;
    border-color: var(--error-color);
    color: #c23a3a;
}

.alert-success {
    background: #e8f5e9;
    border-color: var(--success-color);
    color: #3d7a4f;
}

.alert-info {
    background: #e3f2fd;
    border-color: #1976d2;
    color: #0d47a1;
}

/* 申请须知 */
.form-tips {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid var(--gold-color);
}

.form-tips h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-tips ul {
    list-style: none;
    padding-left: 0;
}

.form-tips li {
    padding: 5px 0 5px 25px;
    position: relative;
    color: var(--text-light);
}

.form-tips li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--gold-color);
    font-weight: bold;
}

/* 页面头部 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* 申请列表 */
.applications-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.application-item {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.app-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.status-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: #fff3e0;
    color: #e65100;
}

.status-approved {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-rejected {
    background: #ffebee;
    color: #c62828;
}

.app-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-info label {
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 5px;
}

.app-info p {
    color: var(--text-light);
    line-height: 1.8;
}

.admin-note {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.empty-state p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

/* 管理后台样式 */
.admin-container {
    background: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.stat-card.pending {
    border-color: #ff9800;
}

.stat-card.approved {
    border-color: var(--success-color);
}

.stat-card.rejected {
    border-color: var(--error-color);
}

.stat-card h3 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* 过滤栏 */
.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    background: var(--light-bg);
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

/* 管理表格 */
.admin-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--text-dark);
}

.admin-table tr:hover {
    background: rgba(200, 69, 58, 0.02);
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-view,
.btn-approve,
.btn-reject {
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-view {
    background: #2196f3;
    color: white;
}

.btn-view:hover {
    background: #1976d2;
}

.btn-approve {
    background: var(--success-color);
    color: white;
}

.btn-approve:hover {
    background: #458e5c;
}

.btn-reject {
    background: var(--error-color);
    color: white;
}

.btn-reject:hover {
    background: #b83939;
}

/* 详情卡片 */
.detail-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.detail-header {
    background: linear-gradient(135deg, var(--primary-color), #a83c33);
    color: white;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-header h2 {
    font-size: 1.8rem;
}

.detail-body {
    padding: 30px;
}

.detail-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row.full-width {
    grid-template-columns: 1fr;
}

.detail-row label {
    font-weight: 600;
    color: var(--text-dark);
}

.detail-row span {
    color: var(--text-light);
}

.bio-content,
.note-content {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    line-height: 1.8;
    color: var(--text-light);
}

.detail-actions {
    padding: 30px;
    background: var(--light-bg);
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* 操作卡片 */
.action-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.action-card h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.app-summary {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.app-summary p {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.btn-back {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    color: #a83c33;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .steps-grid {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .admin-table {
        overflow-x: auto;
    }
    
    .detail-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}
