body { background-color: #1a1a1a; color: #e5e5e5; font-family: 'Segoe UI', sans-serif; }
.glass { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); }
.btn-primary { @apply bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded transition; }

/* 修复输入框样式，确保可见性和自动填充适配 */
.input-field { 
    width: 100%; 
    background-color: #1f2937 !important; 
    border: 1px solid #374151; 
    border-radius: 0.5rem; 
    padding: 0.5rem; 
    color: #ffffff !important; 
    outline: none;
}
.input-field:focus { border-color: #3b82f6; }

/* 下拉框样式 */
select.input-field {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem top 50%;
    background-size: 0.65rem auto;
}

.input-field:-webkit-autofill,
.input-field:-webkit-autofill:hover, 
.input-field:-webkit-autofill:focus, 
.input-field:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1f2937 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.config-error-banner {
    background-color: #ef4444; color: white; text-align: center; padding: 1rem;
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999; font-weight: bold;
}

/* 图片查看器样式 */
.lightbox-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9); z-index: 100;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-img {
    max-width: 90vw; max-height: 90vh;
    border-radius: 8px; box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute; top: 20px; right: 20px;
    color: white; cursor: pointer; background: rgba(255,255,255,0.1);
    border-radius: 50%; padding: 10px;
}
