* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    position: relative;
    overflow-x: hidden;
}

/* 毛玻璃背景效果 */
.glass-container {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, #0891b2 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #0891b2 0%, #6366f1 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    color: #0891b2;
    border: 1px solid rgba(8, 145, 178, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #0891b2;
}

/* 表单样式 */
.form-container {
    max-width: 500px;
    margin: 30px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.form-title {
    text-align: center;
    background: linear-gradient(135deg, #0891b2 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1e40af;
    font-weight: 500;
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    font-size: 16px;
    transition: all 0.3s ease;
    color: #1e293b;
}

.form-control:focus {
    outline: none;
    border-color: #0891b2;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230891b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

/* 验证码区域 */
.captcha-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.captcha-image {
    cursor: pointer;
    border-radius: 50px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    height: 48px;
    width: 120px;
    object-fit: cover;
}

.captcha-image:hover {
    transform: scale(1.02);
}

/* 仪表盘卡片 */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.dashboard-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
    background: rgba(255, 255, 255, 0.8);
}

.dashboard-card h3 {
    background: linear-gradient(135deg, #0891b2 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #1e40af;
    font-weight: 500;
    font-size: 15px;
}

.info-value {
    color: #0891b2;
    font-weight: 600;
    font-size: 15px;
}

/* 搜索框 */
.search-box {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 14px 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #0891b2;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
}

/* 用户表格 */
.user-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.user-table th,
.user-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.user-table th {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    color: #0891b2;
    font-weight: 600;
    font-size: 15px;
}

.user-table tr:hover {
    background: rgba(255, 255, 255, 0.4);
}

.user-table td {
    color: #1e293b;
}

/* 弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.modal-content {
    position: relative;
    max-width: 450px;
    margin: 100px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    box-shadow: 0 20px 60px 0 rgba(31, 38, 135, 0.2);
}

.modal-title {
    background: linear-gradient(135deg, #0891b2 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* 欢迎页面 */
.welcome-section {
    text-align: center;
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 48px;
    margin: 40px 0;
    box-shadow: 0 20px 60px 0 rgba(31, 38, 135, 0.1);
}

.welcome-title {
    font-size: 56px;
    background: linear-gradient(135deg, #0891b2 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.welcome-subtitle {
    font-size: 20px;
    color: #1e40af;
    margin-bottom: 40px;
    font-weight: 400;
    opacity: 0.9;
}

/* 特色卡片 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 60px 0;
}

.feature-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0891b2 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h4 {
    color: #0891b2;
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: #1e40af;
    opacity: 0.8;
    line-height: 1.6;
}

/* 消息提示 */
.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 50px;
    padding: 15px 25px;
    margin: 15px 0;
    color: #16a34a;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 50px;
    padding: 15px 25px;
    margin: 15px 0;
    color: #dc2626;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 30px;
    margin-top: 60px;
    color: #1e40af;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 36px;
    }
    
    .welcome-subtitle {
        font-size: 18px;
    }
    
    .form-container {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 15px;
        border-radius: 30px;
        padding: 20px;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .user-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .modal-content {
        margin: 50px 20px;
        padding: 30px 20px;
    }
}

/* 动画效果 */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* 装饰性背景元素 */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-decoration .circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    filter: blur(60px);
}

.bg-decoration .circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.bg-decoration .circle-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
}

.bg-decoration .circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
}