* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 100%;

}

header {
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
    color: white;
    border-radius: 0 0 20px 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.9;
}
.admin-header
 {
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
    color: white;
    padding: 20px;
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.service-item {
    background: white;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #eaeaea;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.service-item.active {
    background: #e3f2fd;
    border-color: #1e88e5;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #1e88e5;
}

.service-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.staff-section {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #0d47a1;
    border-bottom: 2px solid #e3f2fd;
    padding-bottom: 10px;
}

.staff-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.staff-card {
    display: flex;

    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.staff-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #e3f2fd;
}

.staff-info {
    flex: 1;
}

.staff-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #0d47a1;
}

.staff-position, .staff-unit, .staff-area {
    font-size: 0.9rem;
    margin-bottom: 3px;
    color: #555;
}

.staff-phone {
    font-size: 0.9rem;
    color: #1e88e5;
    font-weight: 500;
    margin-top: 5px;
}

.call-button {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 15px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}

.call-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.4);
}

.call-button:active {
    transform: translateY(0);
}

.footer {
    text-align: center;
    padding: 20px 0;
    color: #666;
    font-size: 0.85rem;
    margin-top: 30px;
}

.no-staff {
    text-align: center;
    padding: 30px;
    color: #666;
    font-style: italic;
}

@media (max-width: 480px) {
    .service-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .staff-card {
        flex-direction: column;
        text-align: center;
    }
    
    .staff-photo {
        margin-right: 0;
        margin-bottom: 10px;
        align-self: center;
    }
}

/* 管理后台表格样式 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eaeaea;
}

.data-table th {
    background: #f5f7fa;
    font-weight: 600;
    color: #333;
}

.data-table tr:hover {
    background: #f8fafc;
}

.btn {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-primary {
    background: #1e88e5;
    color: white;
}

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

.btn-success {
    background: #4caf50;
    color: white;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

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

.form-actions {
    margin-top: 25px;
    text-align: right;
}