/* GIF艺术二维码 - 样式 */

.gif-qr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.tool-title-bar {
    text-align: center;
    margin-bottom: 30px;
}

.tool-title-bar h1 {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 8px;
}

.tool-title-bar h1 i {
    color: #3498db;
    margin-right: 10px;
}

.tool-title-bar p {
    color: #7f8c8d;
    font-size: 1em;
}

.member-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.member-notice a.btn {
    margin-top: 10px;
    display: inline-block;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.left-panel,
.right-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-section,
.preview-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.settings-section h3,
.preview-section h3 {
    font-size: 1.1em;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.settings-section h3 i,
.preview-section h3 i {
    color: #3498db;
    margin-right: 8px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #555;
    font-size: 0.95em;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

.range-control {
    width: 100%;
    margin-top: 5px;
}

.range-value {
    display: inline-block;
    margin-left: 10px;
    font-size: 0.9em;
    color: #3498db;
    font-weight: 600;
}

.color-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-picker {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 2px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.preview-container {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.preview-container img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
}

.actions-section {
    text-align: center;
}

.btn-group {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: #3498db;
    color: #fff;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-success {
    background: #27ae60;
    color: #fff;
}

.btn-success:hover {
    background: #219a52;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    .tool-title-bar h1 {
        font-size: 1.5em;
    }
    .settings-section,
    .preview-section {
        padding: 16px;
    }
}
