* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

body {
    background: linear-gradient(145deg, #ffe6f0 0%, #ffd9e8 100%);
    min-height: 100vh;
}

/* 登录页 */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(255, 150, 200, 0.3);
    width: 360px;
    text-align: center;
    border: 2px solid #fff5fa;
}

.login-card h1 {
    color: #b34180;
    font-size: 28px;
    margin-bottom: 8px;
    text-shadow: 2px 2px 0 #ffc0cb;
}

.login-card p {
    color: #d96c9e;
    margin-bottom: 30px;
}

.login-card input {
    width: 100%;
    padding: 14px 20px;
    margin: 10px 0;
    border: 2px solid #ffb6c1;
    border-radius: 100px;
    font-size: 16px;
    background: rgba(255, 240, 245, 0.8);
    transition: all 0.3s;
}

.login-card input:focus {
    outline: none;
    border-color: #ff80a5;
    box-shadow: 0 0 0 4px #ffe4ec;
}

.login-card button {
    background: #ffa5c3;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 8px 0 #d96c9e;
    transition: 0.1s ease;
}

.login-card button:active {
    transform: translateY(6px);
    box-shadow: 0 2px 0 #d96c9e;
}

.message {
    margin-top: 20px;
    font-weight: 600;
}

/* 主界面 */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 215, 235, 0.6);
    backdrop-filter: blur(8px);
    padding: 15px 30px;
    border-radius: 60px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px #ffb6c1;
}

.header-bar h2 {
    color: #a53860;
    font-size: 26px;
    letter-spacing: 1px;
}

.header-bar a {
    color: #a53860;
    text-decoration: none;
    background: #fff0f5;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    border: 2px solid #ffb3c6;
}

.filter-panel {
    background: #fff0f7;
    border-radius: 40px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px #ffd9e8;
    border: 2px solid white;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
    align-items: flex-end;
    margin-bottom: 15px;
}

.filter-item {
    display: flex;
    flex-direction: column;
    min-width: 140px;
}

.filter-item label {
    color: #b34180;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.filter-item input, .filter-item select {
    padding: 10px 15px;
    border: 2px solid #ffb6c1;
    border-radius: 30px;
    background: white;
    font-size: 14px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    background: #ffb8d2;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    box-shadow: 0 5px 0 #d96c9e;
    transition: 0.1s;
    font-size: 16px;
    border: 2px solid #ffe2f0;
}

.btn:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 #d96c9e;
}

.btn-primary {
    background: #ff94b6;
    box-shadow: 0 5px 0 #ba2d6d;
}

.add-section {
    background: #ffeef4;
    border-radius: 40px;
    padding: 25px;
    margin-bottom: 30px;
}

.add-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.add-form .filter-item {
    flex: 1 0 150px;
}

.table-wrapper {
    background: #fff5fa;
    border-radius: 40px;
    padding: 20px;
    box-shadow: inset 0 2px 8px #ffc0cb, 0 10px 20px #ffb3c6;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 14px;
}

th {
    background: #ffc1d0;
    color: #631f3f;
    padding: 15px 5px;
    font-size: 15px;
    position: sticky;
    top: 0;
}

td {
    padding: 12px 5px;
    border-bottom: 2px dashed #ffb6c1;
    color: #4a2c38;
}

tr:last-child td {
    border-bottom: none;
}

.delete-btn {
    background: #ffb0b0;
    border: none;
    border-radius: 30px;
    padding: 6px 16px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 3px 0 #b34747;
    transition: 0.1s;
}

.delete-btn:active {
    transform: translateY(3px);
    box-shadow: none;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    align-items: center;
}

.page-btn {
    background: #ffbed6;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: bold;
    color: #8f4762;
    cursor: pointer;
    box-shadow: 0 4px 0 #d96c9e;
    transition: 0.1s;
}

.page-btn:active {
    transform: translateY(4px);
    box-shadow: none;
}

.page-info {
    font-size: 18px;
    color: #a53860;
}