.qr-jammer-tool { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #333; line-height: 1.6; }
.qr-jammer-tool h1 { text-align: center; color: #343a40; margin-bottom: 15px; font-size: 2em; }
.qr-jammer-tool p.description-text { text-align:center; margin-bottom:25px; color: #6c757d; font-size: 1.1em; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #555; }
.form-control, input[type="file"], input[type="range"] { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; font-size: 1rem; margin-bottom: 5px; }
input[type="file"] { padding: 5px; }
.preview-area { margin-top: 30px; text-align: center; padding: 15px; border: 1px dashed #ccc; min-height: 200px; display: flex; justify-content: center; align-items: center; background-color: #f9f9f9; }
#qrPreviewImage { max-width: 100%; max-height: 400px; border: 1px solid #eee; }
.buttons-area { margin-top: 25px; text-align: center; }
.btn { display: inline-block; font-weight: 500; text-align: center; vertical-align: middle; cursor: pointer; user-select: none; background-color: transparent; border: 1px solid transparent; padding: 10px 20px; font-size: 1rem; border-radius: .25rem; transition: all .15s ease-in-out; margin: 5px; }
.btn-primary { color: #fff; background-color: #007bff; border-color: #007bff; }
.btn-primary:hover { background-color: #0069d9; border-color: #0062cc; }
.btn-success { color: #fff; background-color: #28a745; border-color: #28a745; }
.btn-success:hover { background-color: #218838; border-color: #1e7e34; }
.btn:disabled { opacity: 0.65; cursor: not-allowed; }
#strengthValue { font-weight: bold; color: #007bff; }
#transparencyValue { font-weight: bold; color: #007bff; }

/* 标签页样式 */
.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #dee2e6;
}
.tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 1rem;
    color: #6c757d;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin: 0 5px;
}
.tab-btn:hover {
    color: #007bff;
    background-color: #f8f9fa;
}
.tab-btn.active {
    color: #007bff;
    border-bottom-color: #007bff;
    font-weight: 600;
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* 数字雨相关样式 */
.rain-canvas-container { text-align: center; margin: 20px 0; position: relative; }
#rainCanvas { border: 2px solid #007bff; border-radius: 8px; background: #000; max-width: 100%; }
.rain-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.color-input-group { display: flex; align-items: center; gap: 10px; }
.color-input-group label { margin: 0; min-width: 120px; }
input[type="color"] { width: 50px; height: 40px; border: none; border-radius: 4px; cursor: pointer; }
.rain-status { text-align: center; margin: 15px 0; padding: 10px; background: #f8f9fa; border-radius: 5px; font-size: 14px; color: #6c757d; }
.rain-status.generating { background: #fff3cd; color: #856404; border: 1px solid #ffeaa7; }
.rain-status.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.rain-output { text-align: center; margin-top: 20px; }
.rain-output img { max-width: 100%; max-height: 400px; border: 1px solid #ddd; border-radius: 4px; }
.rain-output video { max-width: 100%; max-height: 400px; border: 1px solid #ddd; border-radius: 4px; }

/* 防右键样式 */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.watermark-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    pointer-events: none;
    z-index: 10;
}

.user-status-hint { text-align:center; margin-top:25px; font-size:0.9em; color: #6c757d; }

@media (max-width: 768px) {
    .rain-controls { grid-template-columns: 1fr; }
}
