* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

.glass-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.btn-danger {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    border: none;
    transition: all 0.3s;
}

.btn-danger:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, #a93226, #c0392b);
}

.btn-outline-danger {
    border: 2px solid #c0392b;
    color: #c0392b;
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-danger:hover {
    background: #c0392b;
    color: white;
    transform: scale(1.02);
}

.qr-img {
    max-width: 180px;
    border-radius: 15px;
    padding: 10px;
    background: white;
    margin: 10px auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.list-group-item {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    margin-bottom: 8px;
    border-radius: 12px !important;
    transition: all 0.2s;
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
}

.form-control {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #c0392b;
    box-shadow: 0 0 0 0.2rem rgba(192, 57, 43, 0.25);
}

.alert {
    border-radius: 12px;
    border: none;
}

.table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.table thead {
    background: #c0392b;
    color: white;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(192, 57, 43, 0.05);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .glass-card {
        padding: 15px;
        margin: 10px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .qr-img {
        max-width: 120px;
    }
    
    .btn {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .table {
        font-size: 0.8rem;
    }
    
    .table td, .table th {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 12px;
        margin: 8px;
    }
    
    .btn {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .form-control {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass-card {
    animation: fadeIn 0.5s ease-out;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c0392b;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a93226;
}