/* Admin Dashboard - 温暖二次元风格 */

/* ===== 基础变量 ===== */
:root {
    --admin-bg-primary: #fff9f5;
    --admin-bg-secondary: #fff5f0;
    --admin-bg-tertiary: #fffbf8;
    --admin-text-primary: #2d2d2d;
    --admin-text-secondary: #7a7a7a;
    --admin-accent-pink: #ffb7b2;
    --admin-accent-blue: #a2d2ff;
    --admin-accent-purple: #c9b8ff;
    --admin-accent-yellow: #ffd93d;
    --admin-card-shadow: 0 4px 20px rgba(255, 183, 178, 0.15);
    --admin-border-radius: 20px;
}

/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.admin-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--admin-bg-primary);
    color: var(--admin-text-primary);
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 183, 178, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(162, 210, 255, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
}

/* ===== 布局 ===== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* ===== 侧边栏 ===== */
.admin-sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--admin-bg-secondary) 0%, var(--admin-bg-tertiary) 100%);
    padding: 35px 25px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    border-right: 2px solid rgba(255, 183, 178, 0.2);
}

/* 侧边栏装饰 */
.admin-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--admin-accent-pink), var(--admin-accent-blue), var(--admin-accent-purple));
}

.sidebar-logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--admin-accent-pink), var(--admin-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 45px;
    padding-bottom: 30px;
    border-bottom: 2px dashed rgba(255, 183, 178, 0.3);
    text-align: center;
    letter-spacing: 3px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 18px;
    color: var(--admin-text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--admin-accent-pink), var(--admin-accent-purple));
    border-radius: 5px 0 0 5px;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-item:hover {
    background: rgba(255, 183, 178, 0.1);
    color: var(--admin-text-primary);
    transform: translateX(8px);
}

.nav-item:hover::before {
    transform: scaleY(1);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(255, 183, 178, 0.2), rgba(162, 210, 255, 0.2));
    color: var(--admin-text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(255, 183, 178, 0.2);
}

.nav-item.active::before {
    transform: scaleY(1);
}

.nav-item span {
    font-size: 1.4rem;
}

/* ===== 主内容区域 ===== */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 45px 50px;
    background: var(--admin-bg-primary);
}

/* ===== 内容头部 ===== */
.content-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 249, 245, 0.9));
    backdrop-filter: blur(20px);
    padding: 40px 45px;
    border-radius: 28px;
    margin-bottom: 40px;
    box-shadow: var(--admin-card-shadow);
    border: 2px solid rgba(255, 183, 178, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.content-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 183, 178, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.content-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--admin-text-primary), var(--admin-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.content-header p {
    color: var(--admin-text-secondary);
    font-size: 1.15rem;
}

.header-actions {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* ===== 按钮样式 ===== */
.btn-premium {
    padding: 16px 32px;
    border: none;
    border-radius: 18px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-pink {
    background: linear-gradient(135deg, var(--admin-accent-pink), #ffd1dc);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 183, 178, 0.4);
}

.btn-pink:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 183, 178, 0.5);
}

.btn-dark {
    background: linear-gradient(135deg, #2d2d2d, #4a4a4a);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===== 内容网格 ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

/* ===== 卡片样式 ===== */
.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 245, 0.95));
    backdrop-filter: blur(10px);
    padding: 45px 50px;
    border-radius: 28px;
    box-shadow: var(--admin-card-shadow);
    border: 2px solid rgba(255, 183, 178, 0.15);
    margin-bottom: 35px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--admin-accent-pink), var(--admin-accent-blue));
    border-radius: 28px 28px 0 0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 183, 178, 0.25);
}

.card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--admin-text-primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card h3::before {
    content: '✨';
    font-size: 1.6rem;
}

/* ===== 表格样式 ===== */
.table-responsive {
    overflow-x: auto;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 245, 0.95));
    backdrop-filter: blur(10px);
    box-shadow: var(--admin-card-shadow);
    border: 2px solid rgba(255, 183, 178, 0.15);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 22px 25px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 183, 178, 0.15);
    font-size: 1.05rem;
}

table th {
    font-weight: 700;
    color: var(--admin-text-primary);
    background: linear-gradient(135deg, rgba(255, 183, 178, 0.1), rgba(162, 210, 255, 0.1));
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

table tr:hover {
    background: rgba(255, 183, 178, 0.05);
}

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

/* ===== 特性项样式 ===== */
.feature-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 245, 0.95));
    backdrop-filter: blur(10px);
    padding: 30px 35px;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--admin-card-shadow);
    border: 2px solid rgba(255, 183, 178, 0.15);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 183, 178, 0.25);
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--admin-text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-item h3::before {
    content: '⚡';
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--admin-text-secondary);
    font-size: 0.95rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.dot-on {
    background: var(--admin-accent-pink);
    color: var(--admin-accent-pink);
}

.dot-off {
    background: #ccc;
    color: #ccc;
}

/* ===== 消息提示 ===== */
.alert {
    padding: 20px 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, rgba(50, 215, 75, 0.1), rgba(50, 215, 75, 0.05));
    color: #32d74b;
    border: 2px solid rgba(50, 215, 75, 0.2);
}

.alert-success::before {
    content: '✓';
    font-size: 1.5rem;
    font-weight: bold;
}

/* ===== 手机版样式 ===== */
@media (max-width: 768px) {
    /* 手机端侧边栏 */
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        box-shadow: none;
        border-right: none;
        border-bottom: 2px solid rgba(255, 183, 178, 0.2);
        padding: 20px 15px;
    }

    .admin-sidebar::before {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 3px;
    }

    .sidebar-logo {
        font-size: 1.4rem;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    /* 手机端主内容 */
    .main-content {
        margin-left: 0;
        padding: 20px 15px;
    }

    /* 手机端头部 */
    .content-header {
        padding: 25px 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
        border-radius: 20px;
    }

    .content-header::before {
        top: -30%;
        right: -20%;
        width: 150px;
        height: 150px;
    }

    .content-header h1 {
        font-size: 1.5rem;
    }

    .content-header p {
        font-size: 0.9rem;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-premium {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 1rem;
    }

    /* 手机端网格 */
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 手机端卡片 */
    .card {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    /* 手机端特性项 */
    .feature-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }

    .feature-item .btn-premium {
        width: 100%;
    }

    /* 手机端表格 */
    .table-responsive {
        border-radius: 20px;
        margin: 0 -15px;
    }

    table {
        font-size: 0.9rem;
    }

    table th,
    table td {
        padding: 12px 15px;
    }

    /* 手机端消息 */
    .alert {
        padding: 15px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* 超小屏幕优化 */
    .sidebar-logo {
        font-size: 1.2rem;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .nav-item {
        padding: 12px 14px;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .nav-item span {
        font-size: 1.1rem;
    }

    .main-content {
        padding: 15px 10px;
    }

    .content-header {
        padding: 20px 15px;
        border-radius: 16px;
    }

    .content-header h1 {
        font-size: 1.3rem;
    }

    .card {
        padding: 20px 15px;
        border-radius: 16px;
    }

    .card h3 {
        font-size: 1.15rem;
    }

    .feature-item {
        padding: 18px;
        border-radius: 16px;
    }

    .feature-item h3 {
        font-size: 1.1rem;
    }

    .btn-premium {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}

/* ===== 表单样式 ===== */
.premium-form-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 245, 0.95));
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--admin-card-shadow);
    border: 2px solid rgba(255, 183, 178, 0.2);
    margin: 40px auto;
    max-width: 900px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-form-card.animate-in {
    animation: fadeIn 0.5s ease;
}

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

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--admin-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label::before {
    content: '📝';
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 183, 178, 0.2);
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    color: var(--admin-text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--admin-accent-pink);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 183, 178, 0.1);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: var(--admin-text-secondary);
    opacity: 0.6;
}

/* ===== 登录页面样式 ===== */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--admin-bg-primary);
    background-image:
        radial-gradient(circle at 30% 20%, rgba(255, 183, 178, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(162, 210, 255, 0.15) 0%, transparent 50%);
    background-attachment: fixed;
}

.login-body .premium-form-card {
    max-width: 500px;
    padding: 50px;
    text-align: center;
}

/* ===== 统计卡片 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--admin-text-primary);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--admin-text-secondary);
    font-weight: 500;
}

/* ===== 最近活动 ===== */
.recent-activities {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.recent-activities h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--admin-text-primary);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--admin-bg-tertiary);
    border-radius: 12px;
    transition: background 0.3s ease;
}

.activity-item:hover {
    background: var(--admin-bg-secondary);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.activity-info {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: var(--admin-text-primary);
    margin-bottom: 4px;
}

.activity-time {
    font-size: 0.85rem;
    color: var(--admin-text-secondary);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--admin-text-secondary);
}

.empty-state div {
    margin-bottom: 15px;
}

/* ===== 搜索和筛选栏 ===== */
.search-filter-bar {
    background: white;
    border-radius: 20px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.search-filter-bar input:focus {
    outline: none;
    border-color: var(--admin-accent-pink);
}

/* ===== 批量操作栏 ===== */
.batch-actions {
    background: linear-gradient(135deg, rgba(255, 183, 178, 0.1), rgba(162, 210, 255, 0.1));
    border-radius: 15px;
    padding: 15px 25px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.batch-actions input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.batch-actions label {
    cursor: pointer;
    font-weight: 600;
    color: var(--admin-text-primary);
}

.item-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--admin-accent-pink);
}

.card-checkbox {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--admin-accent-pink);
    z-index: 10;
}

.grid-card {
    position: relative;
}

/* ===== 批量操作栏 ===== */
.batch-actions {
    background: linear-gradient(135deg, rgba(255, 183, 178, 0.1), rgba(162, 210, 255, 0.1));
    border-radius: 15px;
    padding: 15px 25px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.batch-actions input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.batch-actions label {
    cursor: pointer;
    font-weight: 600;
    color: var(--admin-text-primary);
}

.item-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--admin-accent-pink);
}

.card-checkbox {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--admin-accent-pink);
    z-index: 10;
}

.grid-card {
    position: relative;
}

/* ===== 移动端头部 ===== */
.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: linear-gradient(180deg, var(--admin-bg-secondary) 0%, var(--admin-bg-tertiary) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background: var(--admin-accent-pink);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-logo {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--admin-accent-pink), var(--admin-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-logout {
    font-size: 1.5rem;
    text-decoration: none;
}

.desktop-only {
    display: block;
}

/* ===== 移动端响应式 ===== */
@media (max-width: 768px) {
    .mobile-header {
        display: flex;
    }

    .admin-sidebar {
        position: fixed;
        left: -100%;
        top: 60px;
        height: calc(100vh - 60px);
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .admin-sidebar.sidebar-open {
        left: 0;
    }

    .main-content {
        margin-left: 0 !important;
        padding: 80px 15px 30px !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .search-filter-bar form {
        flex-direction: column;
    }

    .search-filter-bar input,
    .search-filter-bar select,
    .search-filter-bar button {
        width: 100% !important;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .grid-card img {
        height: 250px !important;
    }

    .content-header h1 {
        font-size: 1.5rem !important;
    }

    .content-header p {
        font-size: 0.85rem !important;
    }

    .header-actions {
        flex-direction: column;
        gap: 10px;
    }

    .header-actions a {
        width: 100%;
        text-align: center;
    }

    .desktop-only {
        display: none;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 15px;
    }

    .recent-activities {
        padding: 20px;
    }
}

/* ===== 表单手机版 ===== */
@media (max-width: 768px) {
    .premium-form-card {
        padding: 35px 25px;
        border-radius: 24px;
        margin: 20px;
        max-width: 100%;
    }

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

    .form-group label {
        font-size: 0.95rem;
    }

    .form-control {
        padding: 14px 16px;
        font-size: 0.95rem;
        border-radius: 14px;
    }

    .premium-form-card h2 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .premium-form-card {
        padding: 30px 20px;
        margin: 15px;
        border-radius: 20px;
    }

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

    .form-control {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .premium-form-card h2 {
        font-size: 1.3rem !important;
    }

    .btn-premium {
        padding: 14px 18px;
        font-size: 0.9rem;
    }
}