/* 全局和橙色主题 */
:root {
    --primary-color: #FF7F50; /* 橙色 */
    --primary-dark: #E56A41;
    --light-color: #FFF5F0;
    --text-color: #333;
    --border-color: #DDD;
    --bg-color: #F4F4F4;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.container {
    max-width: 960px;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    border-radius: 8px;
}

header {
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

header h1 {
    color: var(--primary-color);
    margin: 0;
}

.search-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    min-width: 180px;
    background-color: #fff;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px var(--light-color);
}

.policy-section, .partners-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-left: 5px solid var(--primary-color);
    border-radius: 4px;
}

.policy-section h2, .partners-section h2 {
    margin-top: 0;
    color: var(--primary-dark);
}

#partners-list .partner-item {
    background-color: #fff;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 1rem;
}

#partners-list .partner-item h3 {
    margin-top: 0;
    color: var(--primary-color);
}

#partners-list .partner-item p {
    margin: 0.25rem 0;
}

footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: #777;
}

/* 后台样式补充 */
.admin-container { max-width: 1200px; margin: 1rem auto; padding: 1rem; }
.admin-header { background: var(--primary-color); color: white; padding: 1rem; border-radius: 4px; margin-bottom: 1rem; }
.admin-header a { color: white; text-decoration: none; }
.nav-tabs { display: flex; list-style: none; padding: 0; margin: 0; border-bottom: 2px solid var(--primary-color); }
.nav-tabs li a { display: block; padding: 1rem 1.5rem; text-decoration: none; color: var(--text-color); border-bottom: 2px solid transparent; }
.nav-tabs li a.active, .nav-tabs li a:hover { border-bottom-color: var(--primary-color); color: var(--primary-color); }
.tab-content { padding: 2rem 0; }
.btn { padding: 0.75rem 1.5rem; border: none; border-radius: 4px; cursor: pointer; font-size: 1rem; text-decoration: none; display: inline-block; }
.btn-primary { background-color: var(--primary-color); color: white; }
.btn-danger { background-color: #dc3545; color: white; }
.form-table { width: 100%; border-collapse: collapse; }
.form-table th, .form-table td { padding: 0.75rem; border: 1px solid var(--border-color); text-align: left; }
.form-table th { background-color: var(--bg-color); }
input[type="text"], input[type="password"], textarea, select { width: 100%; padding: 0.5rem; border: 1px solid var(--border-color); border-radius: 4px; }
.message { padding: 1rem; margin-bottom: 1rem; border-radius: 4px; }
.message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
