/**
 * FIFA Card Generator Frontend Styles
 * Version: 2.1 - Enhanced with white text support for special cards
 */

/* RTL Support */
body.rtl .fcg-generator-wrapper {
    direction: rtl;
}

/* Main Wrapper */
.fcg-generator-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Container */
.fcg-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Header Section */
.fcg-header {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.fcg-header h2 {
    margin: 0 0 10px;
    font-size: 28px;
    color: #2c3e50;
}

.fcg-header p {
    margin: 0;
    color: #6c757d;
    font-size: 16px;
}

/* Progress Indicator */
.fcg-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    padding: 0 20px;
}

.fcg-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: #e9ecef;
}

.fcg-progress-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.fcg-step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #e9ecef;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 5px;
}

.fcg-progress-step.active .fcg-step-number {
    background: #007cba;
    color: white;
}

.fcg-step-label {
    display: block;
    font-size: 12px;
    color: #666;
}

/* Row & Columns */
.fcg-row {
    display: flex;
    flex-wrap: wrap;
}

.fcg-col {
    flex: 1;
    padding: 30px;
}

.fcg-form-col {
    flex: 1.2;
    background: #f8f9fa;
}

.fcg-preview-col {
    background: #fff;
    border-left: 1px solid #e9ecef;
}

body.rtl .fcg-preview-col {
    border-left: none;
    border-right: 1px solid #e9ecef;
}

/* Form Styles */
.fcg-generator-form {
    max-width: 500px;
}

/* Section Styling */
.fcg-form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.fcg-form-section:last-child {
    border-bottom: none;
}

.fcg-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.fcg-section-desc {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.fcg-form-group {
    margin-bottom: 25px;
}

.fcg-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.fcg-form-row {
    display: flex;
    gap: 20px;
}

.fcg-form-group.fcg-half {
    flex: 1;
}

/* Required Fields */
.required {
    color: #e74c3c;
}

/* Field Hints */
.fcg-field-hint {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Input Styles */
input[type="text"],
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e4e8;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
select:focus {
    outline: none;
    border-color: #007cba;
}

/* Card Type Selection - Enhanced for special cards */
.fcg-card-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.fcg-card-type-option {
    position: relative;
    cursor: pointer;
}

.fcg-card-type-option input {
    position: absolute;
    opacity: 0;
}

.fcg-card-type-label {
    display: block;
    padding: 10px;
    text-align: center;
    border: 2px solid #e1e4e8;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

/* Special styling for card types with white text */
.fcg-card-type-option[data-card-type="silver"] .fcg-card-type-label,
.fcg-card-type-option[data-card-type="bronze"] .fcg-card-type-label,
.fcg-card-type-option[data-card-type="icon"] .fcg-card-type-label,
.fcg-card-type-option[data-card-type="hero"] .fcg-card-type-label,
.fcg-card-type-option[data-card-type="tots"] .fcg-card-type-label,
.fcg-card-type-option[data-card-type="motm"] .fcg-card-type-label {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    border-color: #444;
}

.fcg-card-type-option input:checked + .fcg-card-type-label {
    border-color: #007cba;
    background: #f0f8ff;
    color: #007cba;
}

/* Special cards when checked */
.fcg-card-type-option[data-card-type="silver"] input:checked + .fcg-card-type-label,
.fcg-card-type-option[data-card-type="bronze"] input:checked + .fcg-card-type-label,
.fcg-card-type-option[data-card-type="icon"] input:checked + .fcg-card-type-label,
.fcg-card-type-option[data-card-type="hero"] input:checked + .fcg-card-type-label,
.fcg-card-type-option[data-card-type="tots"] input:checked + .fcg-card-type-label,
.fcg-card-type-option[data-card-type="motm"] input:checked + .fcg-card-type-label {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
}

/* Badge */
.fcg-badge {
    display: inline-block;
    padding: 2px 6px;
    background: #ff6b6b;
    color: white;
    font-size: 10px;
    border-radius: 3px;
    margin-left: 5px;
    position: absolute;
    top: 5px;
    right: 5px;
}

/* Image Upload */
.fcg-image-upload {
    position: relative;
}

.fcg-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fcg-upload-area:hover {
    border-color: #007cba;
    background: #f8fafe;
}

.fcg-upload-area.fcg-drag-over {
    border-color: #007cba;
    background: #e6f2ff;
}

.fcg-upload-icon {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
}

.fcg-upload-area p {
    margin: 5px 0;
    color: #666;
}

.fcg-upload-hint {
    font-size: 13px;
    color: #999;
}

.fcg-image-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.fcg-image-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.fcg-remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.fcg-remove-image:hover {
    background: rgba(255, 0, 0, 0.8);
}

body.rtl .fcg-remove-image {
    right: auto;
    left: 10px;
}

/* Enhanced Image Controls Styling */
.fcg-image-controls {
    margin-top: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
    border-radius: 12px;
    border: 2px solid #007cba;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.1);
    animation: bounceIn 0.5s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    50% {
        transform: scale(1.02) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.fcg-image-controls h4 {
    margin: 0 0 20px 0;
    color: #007cba;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fcg-image-controls h4 .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.fcg-control-group {
    margin-bottom: 15px;
}

.fcg-control-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.fcg-control-group label span {
    color: #007cba;
    font-weight: 600;
}

/* Zoom Controls */
.fcg-zoom-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.fcg-zoom-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #007cba;
    background: white;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fcg-zoom-btn:hover {
    background: #007cba;
    color: white;
    transform: scale(1.1);
}

/* Position Values */
.fcg-position-value {
    display: inline-block;
    min-width: 30px;
    text-align: center;
    font-weight: bold;
    color: #007cba;
    margin-left: 10px;
}

/* Control Row */
.fcg-control-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.fcg-control-group.fcg-half {
    flex: 1;
}

/* Control Actions */
.fcg-control-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.fcg-reset-image {
    margin-top: 10px;
    padding: 8px 16px;
    font-size: 13px;
    color: #6c757d;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.fcg-reset-image:hover {
    color: #007cba;
    border-color: #007cba;
    background: #f0f8ff;
}

.fcg-fit-image {
    background: #28a745 !important;
    color: white !important;
    border-color: #28a745 !important;
}

.fcg-fit-image:hover {
    background: #218838 !important;
    border-color: #218838 !important;
}

/* Control Hint */
.fcg-control-hint {
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fcg-control-hint .dashicons {
    color: #007cba;
}

/* RTL Support for Image Controls */
body.rtl .fcg-control-group label {
    direction: rtl;
}

/* Value Display */
.fcg-value-display {
    background: #007cba;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

/* Sliders */
.fcg-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e1e4e8;
    outline: none;
    -webkit-appearance: none;
}

.fcg-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007cba;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.fcg-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.fcg-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007cba;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

/* Stats Grid */
.fcg-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.fcg-stat {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.fcg-stat:hover {
    border-color: #007cba;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.1);
}

.fcg-stat label {
    display: block;
    margin-bottom: 8px;
}

.fcg-stat-name {
    font-weight: 700;
    font-size: 16px;
    color: #333;
}

.fcg-stat-desc {
    font-size: 12px;
    color: #666;
    margin: 0 5px;
}

.fcg-stat-value {
    float: right;
    font-weight: 700;
    font-size: 18px;
    color: #007cba;
}

/* Stat Highlight Animation */
.fcg-stat.highlight {
    animation: statPulse 0.3s ease-out;
}

@keyframes statPulse {
    0% {
        transform: scale(1);
        background: white;
    }
    50% {
        transform: scale(1.05);
        background: rgba(0, 124, 186, 0.1);
    }
    100% {
        transform: scale(1);
        background: white;
    }
}

/* Stat Presets */
.fcg-stat-presets {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.fcg-stat-presets p {
    margin-bottom: 10px;
    font-weight: 600;
}

.fcg-preset-btn {
    margin: 5px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.fcg-preset-btn:hover {
    border-color: #007cba;
    background: #f0f8ff;
}

.fcg-preset-btn.active {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

/* Size Options */
.fcg-size-options {
    display: flex;
    gap: 15px;
}

.fcg-size-option {
    flex: 1;
    cursor: pointer;
}

.fcg-size-option input {
    position: absolute;
    opacity: 0;
}

.fcg-size-label {
    display: block;
    padding: 15px;
    border: 2px solid #e1e4e8;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.fcg-size-label strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.fcg-size-label small {
    color: #666;
}

.fcg-size-price {
    display: block;
    margin-top: 5px;
    color: #007cba;
    font-weight: 600;
}

.fcg-size-option input:checked + .fcg-size-label {
    border-color: #007cba;
    background: #f0f8ff;
}

/* Price Display */
.fcg-price-display {
    background: #f0f8ff;
    border: 2px solid #007cba;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.fcg-price-breakdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fcg-price-label {
    font-size: 18px;
    font-weight: 600;
}

.fcg-price-value {
    font-size: 24px;
    font-weight: 700;
    color: #007cba;
}

.fcg-price-note {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.fcg-loader {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Buttons */
.fcg-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fcg-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.fcg-btn-primary {
    background: #007cba;
    color: white;
    width: 100%;
}

.fcg-btn-primary:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.fcg-btn-secondary {
    background: #6c757d;
    color: white;
    width: 100%;
    margin-top: 10px;
}

.fcg-btn-secondary:hover {
    background: #5a6268;
}

.fcg-btn-link {
    background: none;
    color: #007cba;
    padding: 8px 16px;
    font-size: 14px;
}

.fcg-btn-link:hover {
    text-decoration: underline;
}

.fcg-form-actions {
    margin-top: 30px;
}

.fcg-saved-designs {
    margin-top: 20px;
    text-align: center;
}

/* Login Prompt */
.fcg-login-prompt {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    color: #856404;
}

.fcg-login-prompt a {
    color: #856404;
    font-weight: 600;
}

/* Preview Section */
.fcg-preview-sticky {
    position: sticky;
    top: 20px;
}

.fcg-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.fcg-preview-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.fcg-preview-tools {
    display: flex;
    gap: 10px;
}

.fcg-fullscreen-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fcg-fullscreen-btn:hover {
    background: #007cba;
    border-color: #007cba;
    color: white;
}

.fcg-card-preview {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Canvas with special card type class for visual feedback */
.fcg-card-preview.fcg-white-text {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

#fcg-card-canvas {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fcg-preview-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fcg-preview-info {
    margin-top: 20px;
}

.fcg-preview-hint {
    font-size: 13px;
    color: #666;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* White text card preview hint */
.fcg-card-preview.fcg-white-text .fcg-preview-hint {
    color: #ddd;
}

/* Share Options */
.fcg-share-options {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.fcg-share-options p {
    margin-bottom: 10px;
    font-weight: 600;
}

.fcg-share-btn {
    display: inline-block;
    margin: 0 5px;
    padding: 8px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
}

.fcg-share-btn:hover {
    background: #007cba;
    border-color: #007cba;
    color: white;
}

.fcg-share-btn .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

/* Features Section */
.fcg-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #e9ecef;
}

.fcg-feature {
    text-align: center;
}

.fcg-feature .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #007cba;
    margin-bottom: 10px;
}

.fcg-feature h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.fcg-feature p {
    font-size: 14px;
    color: #666;
}

/* Modal */
.fcg-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.fcg-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fcg-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fcg-modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.fcg-modal-close {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.fcg-modal-body {
    padding: 20px;
    overflow-y: auto;
}

.fcg-saved-designs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.fcg-saved-design-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.fcg-saved-design-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.fcg-saved-design-item h4 {
    margin: 10px 0 5px;
    font-size: 16px;
}

.fcg-saved-design-item p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #666;
}

.fcg-saved-design-item button {
    margin: 5px;
    padding: 5px 10px;
    font-size: 13px;
}

/* Fullscreen Modal */
.fcg-fullscreen-modal .fcg-modal-content {
    background: rgba(0, 0, 0, 0.9);
    max-width: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fcg-fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
}

.fcg-fullscreen-close .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

#fcg-fullscreen-canvas {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

/* Toast Notifications */
.fcg-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #333;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 10000;
}

.fcg-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* RTL Support for Toast */
body.rtl .fcg-toast {
    right: auto;
    left: 30px;
}

/* WooCommerce Integration */
.fcg-cart-thumbnail {
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fcg-order-item-meta {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.fcg-order-item-meta h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.fcg-order-item-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fcg-order-item-meta li {
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.fcg-order-item-meta li:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .fcg-row {
        flex-direction: column;
    }
    
    .fcg-preview-col {
        border-left: none;
        border-top: 1px solid #e9ecef;
    }
    
    body.rtl .fcg-preview-col {
        border-right: none;
        border-top: 1px solid #e9ecef;
    }
    
    .fcg-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .fcg-card-types {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fcg-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fcg-preview-sticky {
        position: static;
    }
    
    .fcg-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .fcg-progress {
        font-size: 12px;
    }
    
    .fcg-step-number {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
    }
    
    .fcg-stat-presets {
        text-align: left;
    }
    
    .fcg-preset-btn {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
    
    .fcg-control-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .fcg-image-controls {
        padding: 15px;
    }
    
    .fcg-zoom-buttons {
        margin-top: 15px;
    }
    
    .fcg-control-actions {
        flex-direction: column;
    }
    
    .fcg-control-actions .fcg-btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .fcg-generator-wrapper {
        display: none;
    }
}