/* 队列在线观看系统 - 统一样式 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Sans Serif', Arial, sans-serif;
}

/* 基础样式 */
body {
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.65;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}

/* CSS变量定义 */
:root {
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #4338ca;
    --primary-color: #4f46e5;
    --secondary: #7c3aed;
    --secondary-color: #6c757d;
    --success: #10b981;
    --success-color: #28a745;
    --warning: #f59e0b;
    --warning-color: #ffc107;
    --danger: #ef4444;
    --danger-color: #dc3545;
    --info: #3b82f6;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray-50: #f9fafb;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* 容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0) 10px,
        rgba(255, 255, 255, 0) 20px
    );
    animation: moveBg 20s linear infinite;
}

@keyframes moveBg {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

header h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header p {
    font-size: 1.25em;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

/* 头部操作区 */
.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
    background: white;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.header-actions .welcome {
    font-size: 1.1em;
    color: var(--primary);
    font-weight: 600;
}

.header-actions .actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 确保按钮和链接按钮对齐一致 */
.header-actions .actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    vertical-align: middle;
}

/* 按钮样式 - 现代化设计 */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    gap: 8px;
}

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

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

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

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #5a6268);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268, var(--secondary-color));
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #0da271);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #0da271, var(--success-color));
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #d73535);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #d73535, var(--danger-color));
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color), #e69008);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e69008, var(--warning-color));
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 10px;
}

.btn-outline {
    background: transparent;
    border: 2px solid currentColor;
}

.btn-outline:hover {
    background: currentColor;
    color: white;
}

/* 区块样式 */
.section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.section:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-200);
    position: relative;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: var(--transition);
    background-color: white;
    color: var(--gray-800);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input:disabled,
.form-group textarea:disabled,
.form-group select:disabled {
    background-color: var(--gray-100);
    cursor: not-allowed;
    opacity: 0.7;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

th, td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

/* 为不同列设置合适的宽度 */
th:nth-child(1), td:nth-child(1) { width: 50px; text-align: center; }
th:nth-child(2), td:nth-child(2) { width: 150px; }
th:nth-child(3), td:nth-child(3) { width: 150px; }
th:nth-child(4), td:nth-child(4) {
    width: 180px;
    white-space: nowrap;
    position: relative;
}
th:nth-child(5), td:nth-child(5) { width: 100px; text-align: center; }
th:nth-child(6), td:nth-child(6) { width: 150px; }
th:nth-child(7), td:nth-child(7) { width: 150px; }
th:nth-child(8), td:nth-child(8) { width: 150px; }
th:nth-child(9), td:nth-child(9) { width: 80px; text-align: center; }
th:nth-child(10), td:nth-child(10) {
    width: 250px;
    min-width: 200px;
}

/* 描述字段样式 - 隐藏过长文本并显示省略号 */
.description-cell {
    position: relative;
    cursor: pointer;
    display: inline-block;
    max-width: 100%;
}

.description-cell:hover::after {
    content: attr(data-full);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gray-800);
    color: white;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-size: 14px;
    white-space: normal;
    max-width: 400px;
    word-wrap: break-word;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    margin-bottom: 8px;
    line-height: 1.5;
}

.description-cell:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent var(--gray-800) transparent;
    margin-bottom: 2px;
    z-index: 1001;
}

/* 操作按钮组优化 */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.action-buttons form {
    margin: 0 !important;
}

.action-buttons .btn {
    padding: 6px 12px;
    font-size: 12px;
    min-width: 75px;
}

/* 调整表格行高，确保所有行对齐 */
tr {
    height: 60px;
    vertical-align: middle;
    transition: var(--transition);
}

/* 为响应式设计优化表格布局 */
@media (max-width: 1200px) {
    th:nth-child(6), td:nth-child(6),
    th:nth-child(7), td:nth-child(7),
    th:nth-child(8), td:nth-child(8) {
        width: 120px;
        font-size: 13px;
    }
    
    th:nth-child(4), td:nth-child(4) {
        width: 150px;
    }
    
    th:nth-child(10), td:nth-child(10) {
        width: 200px;
        min-width: 180px;
    }
}

/* 在更小的屏幕上进一步优化表格布局 */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }
    
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    th:nth-child(3), td:nth-child(3),
    th:nth-child(6), td:nth-child(6),
    th:nth-child(7), td:nth-child(7) {
        width: 100px;
    }
    
    th:nth-child(10), td:nth-child(10) {
        width: 180px;
        min-width: 160px;
    }
}

/* 添加一个表格包装器，确保在所有屏幕尺寸上都能正确处理溢出 */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

th {
    background-color: var(--gray-50);
    font-weight: 600;
    color: var(--primary);
    position: relative;
    user-select: none;
}

th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

th:hover::after {
    transform: scaleX(1);
}

th:hover {
    background-color: var(--gray-100);
}

tr:hover {
    background-color: var(--gray-50);
    transform: scale(1.01);
}

tr:nth-child(even) {
    background-color: var(--gray-50);
}

tr:nth-child(even):hover {
    background-color: var(--gray-100);
}

td:hover {
    background-color: rgba(79, 70, 229, 0.05);
}

/* 状态徽章 - 优化版 */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-badge.status-waiting {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-color: #fcd34d;
}

.status-badge.status-recording {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border-color: #6ee7b7;
    animation: pulse 2s infinite;
}

.status-badge.status-completed {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #374151;
    border-color: #d1d5db;
}

.server-card:hover .status-badge {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.server-card:focus .status-badge {
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 服务器详情项目 */
.server-details {
    margin: 16px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.server-card:hover .detail-item {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(4px);
}

.server-card:focus .detail-item {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-light);
}

.detail-item i {
    color: var(--primary);
    font-size: 14px;
    width: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.server-card:hover .detail-item i {
    color: var(--primary-dark);
    transform: scale(1.2);
}

.detail-label {
    font-weight: 600;
    color: var(--gray-600);
    min-width: 80px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.server-card:hover .detail-label {
    color: var(--gray-700);
}

.detail-value {
    color: var(--gray-800);
    font-weight: 500;
    font-size: 14px;
    flex: 1;
    transition: all 0.3s ease;
}

.server-card:hover .detail-value {
    color: var(--gray-900);
}

.estimated-time {
    margin-top: 16px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(124, 58, 237, 0.05));
    border-radius: 8px;
    border: 1px solid rgba(79, 70, 229, 0.1);
    transition: all 0.3s ease;
}

.server-card:hover .estimated-time {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(124, 58, 237, 0.08));
    transform: translateY(-2px);
}

.estimated-time i {
    color: var(--primary);
    margin-right: 8px;
    transition: all 0.3s ease;
}

.server-card:hover .estimated-time i {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.estimated-time span {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.server-card:hover .estimated-time span {
    color: var(--gray-900);
}

.status-recording {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border-color: #6ee7b7;
    animation: pulse 2s infinite;
}

.status-waiting {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-color: #fcd34d;
}

.status-completed {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #374151;
    border-color: #d1d5db;
}

.status-error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border-color: #fca5a5;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.98); }
}

/* 优先级标识 - 优化版 */
.priority-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    min-width: 50px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.priority-high {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border-color: #fca5a5;
    animation: pulse 1.5s infinite;
}

.priority-medium {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-color: #fcd34d;
}

.priority-low {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border-color: #6ee7b7;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(245, 158, 11, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* 操作按钮组 */
.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* 通知系统 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid transparent;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.notification-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

.notification-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border-color: #6ee7b7;
}

.notification-error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border-color: #fca5a5;
}

.notification-warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-color: #fcd34d;
}

.notification-info {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    border-color: #93c5fd;
}

/* 模态框样式 - 优化版 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.fade-in {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: var(--card-bg);
    margin: 0;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.modal.fade-in .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-light), var(--card-bg));
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.close:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.modal-body {
    padding: 28px;
}

.modal-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: var(--bg-light);
    border-radius: 0 0 16px 16px;
}

/* 空消息提示 */
.empty-message {
    text-align: center;
    color: var(--gray-500);
    padding: 60px 20px;
    font-size: 1.1em;
    background-color: var(--gray-50);
    border-radius: var(--border-radius);
    border: 2px dashed var(--gray-300);
    transition: var(--transition);
}

.empty-message::before {
    content: "📝";
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
    opacity: 0.4;
}

.empty-message:hover {
    background-color: var(--gray-100);
    border-color: var(--primary-light);
}

/* 服务器卡片 */
.server-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    outline: none;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 焦点状态样式 - 提升可访问性 */
.server-card:focus {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15), var(--shadow-lg);
    transform: translateY(-5px);
}

.server-card:focus::before {
    width: 6px;
}

/* 焦点状态下的文字可读性优化 */
.server-card:focus .server-name,
.server-card:focus .detail-value,
.server-card:focus .detail-label,
.server-card:focus .estimated-time span {
    color: var(--gray-900) !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.server-card:focus .status-badge {
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.server-card h3 {
    color: var(--gray-800);
    margin-bottom: 10px;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

/* 卡片式布局样式 - 优化版 */
.status-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* 服务器列表容器优化 */
.server-queue {
    background: linear-gradient(135deg, var(--gray-50), white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 2px;
}

.filter-btn {
    padding: 10px 18px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
}

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

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

/* 卡片悬停动画效果 */
@keyframes cardFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0px); }
}

@keyframes cardGlow {
    0% { box-shadow: var(--shadow-sm); }
    50% { box-shadow: 0 0 20px rgba(79, 70, 229, 0.2); }
    100% { box-shadow: var(--shadow-sm); }
}

@keyframes borderGlow {
    0% { border-color: var(--gray-200); }
    50% { border-color: var(--primary-light); }
    100% { border-color: var(--gray-200); }
}

.server-card {
    animation: cardFloat 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-card:hover {
    animation: cardFloat 6s ease-in-out infinite, cardGlow 2s ease-in-out infinite;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-color: var(--primary-light);
}

/* 状态特定样式和动画 */
.server-card.status-recording {
    animation: cardFloat 6s ease-in-out infinite, pulse 2s ease-in-out infinite;
    border-left: 4px solid var(--success-color);
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.02), transparent);
}

.server-card.status-recording:hover {
    animation: cardFloat 6s ease-in-out infinite, cardGlow 2s ease-in-out infinite, pulse 1s ease-in-out infinite;
    border-left-width: 6px;
}

.server-card.status-waiting {
    animation: cardFloat 8s ease-in-out infinite;
    border-left: 4px solid var(--warning-color);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.02), transparent);
}

.server-card.status-waiting:hover {
    animation: cardFloat 8s ease-in-out infinite, cardGlow 2s ease-in-out infinite;
    border-left-width: 6px;
}

.server-card.status-completed {
    animation: cardFloat 10s ease-in-out infinite;
    opacity: 0.95;
    border-left: 4px solid var(--secondary-color);
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.02), transparent);
}

.server-card.status-completed:hover {
    opacity: 1;
    animation: cardFloat 10s ease-in-out infinite, cardGlow 2s ease-in-out infinite;
    border-left-width: 6px;
}

/* 波纹效果 */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 卡片点击反馈 */
.server-card {
    transition: transform 0.15s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.server-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.server-card:hover::after {
    left: 100%;
}

.server-card:active {
    transform: scale(0.98);
}

/* 光晕效果 */
.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.server-card:hover::before {
    opacity: 1;
}

.server-card:focus::before {
    opacity: 0.8;
}

/* 确保内容在光晕上方 */
.card-header,
.card-body,
.card-actions {
    position: relative;
    z-index: 2;
}

.active-servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.completed-servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.server-card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.server-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.server-card:hover::before {
    opacity: 1;
}

.server-card.status-recording {
    border-left: 4px solid var(--success-color);
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.02), transparent);
}

.server-card.status-waiting {
    border-left: 4px solid var(--warning-color);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.02), transparent);
}

.server-card.status-completed {
    border-left: 4px solid var(--secondary-color);
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.02), transparent);
}

.card-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--bg-light), var(--card-bg));
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 12px 12px 0 0;
    transition: all 0.3s ease;
}

.server-card:hover .card-header {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.server-card:focus .card-header {
    background: linear-gradient(135deg, #f1f5f9, #ffffff);
}

.server-info h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.server-card:hover .server-info h3 {
    color: var(--primary-dark);
    transform: translateX(2px);
}

.server-ip {
    font-size: 14px;
    color: var(--text-secondary);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    background: rgba(79, 70, 229, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.server-card:hover .server-ip {
    background: rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.25);
    transform: scale(1.05);
}

.status-indicator {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.queue-position {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.server-card:hover .queue-position {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 24px;
}

.description-section {
    margin-bottom: 20px;
}

.description-section label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.description-text {
    margin: 0;
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.time-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.time-item {
    flex: 1;
    min-width: 140px;
}

.time-item label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.time-item span {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.card-actions {
    padding: 20px 24px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.card-actions .btn {
    flex: 1;
    min-width: 90px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
    background: var(--bg-light);
    border-radius: 16px;
    border: 2px dashed var(--border-color);
    margin: 20px 0;
}

.empty-icon {
    font-size: 56px;
    margin-bottom: 20px;
    opacity: 0.7;
    filter: grayscale(0.3);
}

.empty-state p {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}

/* 响应式卡片布局 */
@media (max-width: 768px) {
    .active-servers-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .completed-servers-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .status-indicator {
        align-items: flex-start;
    }
    
    .time-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .card-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .status-filter {
        justify-content: center;
    }
    
    .filter-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .server-card {
        border-radius: 8px;
    }
    
    .card-header,
    .card-body,
    .card-actions {
        padding: 12px 16px;
    }
}

.server-info {
    margin-bottom: 15px;
    color: var(--gray-600);
}

.server-info p {
    margin: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95em;
}

.server-info p strong {
    color: var(--gray-700);
    min-width: 100px;
    font-weight: 600;
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 25px;
    color: var(--gray-500);
    font-size: 0.9em;
    background-color: white;
    border-radius: var(--border-radius);
    margin-top: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

/* 管理员链接 */
.admin-link {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 999;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-200);
}

.admin-link:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 登录容器 */
.login-container {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    margin: 100px auto;
    border: 1px solid var(--gray-200);
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(79, 70, 229, 0.05), transparent);
    animation: rotate 15s linear infinite;
    z-index: 0;
}

.login-container h2,
.login-container form,
.login-container .error,
.login-container .footer {
    position: relative;
    z-index: 1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 错误信息 */
.error {
    color: var(--danger);
    text-align: center;
    margin-bottom: 20px;
    padding: 12px 16px;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--border-radius);
    font-weight: 500;
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 600;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease-out;
    min-width: 280px;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
}

/* 响应式设计 - 优化版 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header {
        padding: 20px 0;
        flex-direction: column;
        gap: 20px;
    }
    
    header h1 {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .header-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* 防止iOS缩放 */
        padding: 12px 14px;
    }
    
    /* 卡片布局响应式 */
    .status-filter {
        justify-content: center;
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
        flex: 1;
        min-width: 80px;
    }
    
    .active-servers-grid,
    .completed-servers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .server-card {
        border-radius: 12px;
    }
    
    .card-header {
        padding: 16px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .status-indicator {
        align-items: flex-start;
        width: 100%;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .card-actions {
        padding: 16px 20px;
        flex-direction: column;
        gap: 8px;
    }
    
    .card-actions .btn {
        width: 100%;
        min-width: auto;
    }
    
    .time-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .time-item {
        min-width: auto;
    }
    
    .empty-state {
        padding: 60px 20px;
    }
    
    .empty-icon {
        font-size: 48px;
    }
    
    .empty-state p {
        font-size: 16px;
    }
    
    /* 通知系统响应式 */
    .notification {
        left: 16px;
        right: 16px;
        min-width: auto;
        max-width: none;
        top: 16px;
    }
    
    .notification-content {
        gap: 10px;
    }
    
    .notification-icon {
        font-size: 18px;
    }
    
    .notification-message {
        font-size: 13px;
    }
    
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
    
    .admin-link {
        position: static;
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .login-container {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .server-info p {
        flex-direction: column;
        gap: 5px;
    }
    
    .server-info p strong {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 0;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    header p {
        font-size: 1em;
    }
    
    .section h2 {
        font-size: 1.5em;
    }
    
    .modal-content {
        padding: 20px;
        margin: 10px;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 工具提示样式 */
.tooltip {
    position: absolute;
    background-color: var(--gray-800);
    color: white;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 12px;
    z-index: 1000;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

/* 错误提示样式 */
.error-tooltip {
    position: absolute;
    background-color: var(--danger);
    color: white;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 12px;
    z-index: 1000;
    margin-top: 5px;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

/* 打印样式 */
@media print {
    .btn, .header-actions, .admin-link, .modal, .action-buttons {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        box-shadow: none;
        break-inside: avoid;
        border: 1px solid #eaeaea;
    }
    
    table {
        page-break-inside: avoid;
    }
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .section {
        border: 2px solid var(--gray-900);
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        border: 2px solid var(--gray-900);
    }
    
    :root {
        --primary: #0000ff;
        --secondary: #7f00ff;
        --success: #007f00;
        --warning: #ff7f00;
        --danger: #ff0000;
    }
}

/* 微软登录按钮样式 */
#microsoft-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1.1rem;
    background-color: #0078d4;
}

#microsoft-login-btn:hover {
    background-color: #106ebe;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 120, 212, 0.3);
}

/* 用户仪表板样式 */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.dashboard-title {
    color: #667eea;
    font-size: 2rem;
    margin: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-greeting {
    color: #666;
    font-weight: bold;
}

.submit-form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* 投稿状态样式 */
.status-pending {
    background: rgba(250, 173, 20, 0.2);
    color: #faad14;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 12px;
}

.status-approved {
    background: rgba(82, 196, 26, 0.2);
    color: #52c41a;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 12px;
}

.status-rejected {
    background: rgba(255, 77, 79, 0.2);
    color: #ff4d4f;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 12px;
}

/* 移动响应式优化 */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .user-info {
        flex-direction: column;
    }
}

/* 登录状态信息 */
.login-status {
    background-color: rgba(82, 196, 26, 0.1);
    border: 1px solid #52c41a;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-status .status-text {
    color: #52c41a;
    font-weight: bold;
}

/* 表单提交成功/失败消息 */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
}

.form-message.success {
    background-color: rgba(82, 196, 26, 0.1);
    border: 1px solid #52c41a;
    color: #52c41a;
}

.form-message.error {
    background-color: rgba(255, 77, 79, 0.1);
    border: 1px solid #ff4d4f;
    color: #ff4d4f;
}