/* 后台管理专用样式 - 浅蓝白高端大气 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

body {
    background: #f0f4f8;
    min-height: 100vh;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* 左侧菜单 */
.sidebar {
    width: 260px;
    background: #ffffff;
    box-shadow: 2px 0 12px rgba(0,0,0,0.05);
    padding: 30px 20px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 10;
}

.sidebar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c7da0;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.sidebar .logo i {
    margin-right: 8px;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav ul li {
    margin-bottom: 12px;
}

.sidebar nav ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #2d3748;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.sidebar nav ul li a i {
    width: 24px;
    font-size: 1.2rem;
}

.sidebar nav ul li a:hover {
    background: #e6f4ff;
    color: #2c7da0;
}

.sidebar nav ul li a.active {
    background: #2c7da0;
    color: white;
}

/* 右侧内容区 */
.main-content {
    margin-left: 260px;
    flex: 1;
    padding: 30px;
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 24px;
    margin-bottom: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: #2c7da0;
    color: white;
}

.btn-primary:hover {
    background: #1f5e7a;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid #2c7da0;
    color: #2c7da0;
}

/* 表格样式 */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

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

.data-table th {
    font-weight: 600;
    color: #2d3748;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

input, textarea, select {
    width: 100%;
    padding: 12px 18px;
    border-radius: 40px;
    border: 1px solid #e2e8f0;
    background: white;
    font-size: 1rem;
    transition: 0.2s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #2c7da0;
    box-shadow: 0 0 0 3px rgba(44,125,160,0.1);
}

.prize-item {
    background: #f9f9ff;
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
}

.prize-item input {
    margin-bottom: 10px;
}

.btn-add {
    background: #2c7da0;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    margin-top: 10px;
}