:root {
    --primary-color: #0d6efd;
    --bg-dark: #1a1a1a;
    --card-bg: rgba(33, 37, 41, 0.85);
    --text-muted: #adb5bd;
}

body {
    background-color: var(--bg-dark);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    color: #fff !important;
}

label, .form-check-label, h1, h2, h3, h4, h5, h6, p, span, div, a, small, .navbar-brand {
    color: #fff !important;
}

.text-primary {
    color: #3d8bfd !important;
}

.text-muted {
    color: #dee2e6 !important;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glass-card {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.upload-area {
    border: 2px dashed #495057;
    border-radius: 10px;
    padding: 3rem;
    background-color: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover, .upload-area.dragover, .upload-area.drag {
    border-color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.1);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.card {
    background-color: rgba(33, 37, 41, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.progress-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: width 0.5s ease;
    z-index: 0;
}

.contact-btn {
    border-width: 2px;
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.5);
    transition: all 0.3s ease;
}

.contact-btn:hover {
    box-shadow: 0 0 25px rgba(13, 110, 253, 0.8);
    transform: translateY(-2px);
}

#submitBtn span {
    position: relative;
    z-index: 1;
}

.console-output {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.85rem;
    background-color: #000;
    color: #0f0;
    padding: 1rem;
    border-radius: 5px;
    height: 220px;
    overflow-y: auto;
    white-space: pre-wrap;
    border: 1px solid #333;
}

.success-icon i {
    text-shadow: 0 0 20px rgba(25, 135, 84, 0.5);
}

.error-icon i {
    text-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
}

.hidden {
    display: none !important;
}

/* 任务台 / 签名表单附加样式 */
.row-flex { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.row-flex input { flex: 1; min-width: 120px; }
.actions-inline { display: flex; gap: 10px; margin: 8px 0; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { border-bottom: 1px solid rgba(255,255,255,.12); padding: 8px 6px; text-align: left; }
.table th { color: #adb5bd; font-weight: 500; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: #495057;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6c757d;
}
