/* ============================================================================
   InnoviQR - Advanced QR Code Generator Styles
   Modern, responsive design with dark mode support
   ============================================================================ */

:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #242424;
    --bg-tertiary: #2a2a2a;
    --bg-card: #242424;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: #444444;
    --border-hover: #555555;
    --accent-color: #00ff88;
    --accent-hover: #00cc6a;
    --error-color: #ff4444;
    --success-color: #00ff88;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f4;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --border-hover: #cccccc;
    --accent-color: #00cc6a;
    --accent-hover: #00a854;
    --error-color: #dc3545;
    --success-color: #28a745;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* ============================================================================
   Base Styles
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================================================
   Header
   ============================================================================ */

.menu-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.menu-nav {
    display: flex;
    gap: 25px;
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 15px;
}



.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
    background: rgba(0, 255, 136, 0.1);
}

.nav-link.active {
    color: var(--accent-color);
    background: rgba(0, 255, 136, 0.1);
}

.theme-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    border-color: var(--accent-color);
}

.theme-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-icon.active {
    background: var(--accent-color);
    color: var(--bg-primary);
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* ============================================================================
   Main Content
   ============================================================================ */

.main {
    padding: 20px 0;
    min-height: 60vh;
}

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

.qr-generator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* ============================================================================
   Settings Panel
   ============================================================================ */

.settings-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.panel-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mode-toggle {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 4px;
    border: 1px solid var(--border-color);
}

.mode-btn {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.mode-btn:hover {
    background: var(--border-hover);
    color: var(--text-primary);
}

.mode-btn.active {
    background: var(--accent-color);
    color: var(--bg-primary);
    font-weight: 600;
}

.settings-section {
    margin-bottom: 1.5rem;
}

.settings-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.settings-sublabel {
    display: block;
    font-weight: 500;
    margin: 0.5rem 0 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.settings-select,
.settings-input,
.gradient-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.settings-select:focus,
.settings-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.settings-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 1rem;
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
    transition: all 0.3s ease;
}

.settings-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.size-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.settings-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-tertiary);
    cursor: pointer;
}

.settings-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.settings-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    border: none;
}

/* Color Controls */
.color-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.color-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-picker {
    width: 50px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    cursor: pointer;
    transition: var(--transition);
}

.color-picker:hover {
    border-color: var(--accent-color);
}

.gradient-btn, .transparent-btn, .sync-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.gradient-btn:hover, .transparent-btn:hover, .sync-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-color);
}

.gradient-btn.active, .transparent-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.sync-btn {
    min-width: 40px;
    padding: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
}

.gradient-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
}

.gradient-select {
    padding: 0.5rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.gradient-select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.color-presets {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.preset-btn {
    width: 30px;
    height: 30px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    background-size: cover;
    background-position: center;
}

.preset-btn:hover {
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.gradient-rotation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.gradient-rotation label {
    min-width: 60px;
    color: var(--text-secondary);
}

.gradient-rotation .settings-slider {
    flex: 1;
    max-width: 100px;
}

.gradient-rotation span {
    min-width: 35px;
    text-align: right;
    color: var(--text-primary);
    font-weight: 500;
}

/* New QR Code Monkey Style Interface */
.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-type-selection {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
}

.radio-option:hover {
    background: var(--bg-tertiary);
}

.radio-option input[type="radio"] {
    margin: 0;
    accent-color: var(--accent-color);
}

.radio-label {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.color-control-group {
    margin-bottom: 1rem;
}

.color-input-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.color-code {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    min-width: 70px;
    text-align: center;
    font-weight: 500;
}

.gradient-colors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gradient-options {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.eye-color-section {
    margin-bottom: 1rem;
}

.eye-color-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 500;
}

.settings-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow);
}

.size-value {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 60px;
    text-align: right;
}

/* Design Grid Styles */
.design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.body-shapes-grid {
    grid-template-columns: repeat(3, 1fr);
}

.eye-frame-grid {
    grid-template-columns: repeat(3, 1fr);
}

.eye-ball-grid {
    grid-template-columns: repeat(3, 1fr);
}

.design-option {
    position: relative;
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    overflow: hidden;
}

.design-option:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.15);
}

.design-option.active {
    border-color: var(--accent-color);
    background: rgba(0, 255, 136, 0.08);
}

/* ============================================================================
   Shape Preview Styles
   
   Visual previews for QR code shape options using SVG images from
   assets/shapes folder. SVG files provide accurate representations
   of how shapes will appear in the final QR code.
   
   Categories:
   - Body Shapes: Data module styling from assets/shapes/body/
   - Eye Frame Shapes: Finder pattern outer ring from assets/shapes/eye-frame/
   - Eye Ball Shapes: Finder pattern center dot from assets/shapes/eye-ball/
   ============================================================================ */

.shape-preview-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    transition: var(--transition);
    filter: brightness(0) saturate(100%) invert(var(--svg-invert, 0%));
}

[data-theme="light"] .shape-preview-img {
    --svg-invert: 0%;
}

[data-theme="dark"] .shape-preview-img {
    --svg-invert: 100%;
}

.color-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.color-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.color-picker {
    width: 50px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    background: none;
}

.gradient-btn,
.transparent-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.gradient-btn:hover,
.transparent-btn:hover {
    background: var(--border-color);
}

.gradient-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.gradient-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.logo-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-input {
    padding: 0.75rem;
    border: 2px dashed var(--border-color);
    border-radius: 6px;
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: var(--transition);
}

.file-input:hover {
    border-color: var(--accent-color);
    background: rgba(0, 130, 255, 0.05);
}

.logo-settings {
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.advanced-settings.hidden {
    display: none;
}

.hidden {
    display: none !important;
}

/* ============================================================================
   Preview Panel
   ============================================================================ */

.preview-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.preview-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.preview-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qr-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 20px;
}

.generate-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent-color);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.generate-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.generate-btn:active {
    transform: translateY(0);
}

.generate-btn .btn-icon {
    font-size: 1.1rem;
}

.qr-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.qr-container {
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qr-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.qr-placeholder p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.download-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.download-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.download-btn {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.download-btn:not(:disabled):hover {
    background: var(--border-hover);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

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

.png-btn:not(:disabled):hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.svg-btn:not(:disabled):hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.pdf-btn:not(:disabled):hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-icon {
    font-size: 1.1rem;
}

.download-size {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.download-size label {
    font-weight: 500;
    color: var(--text-primary);
}

.download-size select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.download-size select:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* ============================================================================
   Footer
   ============================================================================ */

.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-color);
}

.footer-social p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    text-align: right;
}

/* ============================================================================
   Responsive Design
   ============================================================================ */

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .menu-container {
        padding: 12px 16px;
    }
    
    .menu-left {
        gap: 20px;
    }
    
    .menu-nav {
        gap: 15px;
    }
    
    .menu-nav a {
        padding: 6px 8px;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .qr-generator {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .design-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .design-option {
        width: 35px;
        height: 35px;
    }
    
    .shape-preview,
    .eye-frame-preview,
    .eye-ball-preview {
        width: 20px;
        height: 20px;
    }
    
    .preview-panel {
        position: static;
        order: -1;
    }
    
    .panel-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .download-buttons {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-social p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .settings-panel,
    .preview-panel {
        padding: 1.5rem;
    }
    
    .color-input-group {
        flex-wrap: wrap;
    }
    
    .gradient-controls {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================================================================
   Animations and Loading States
   ============================================================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ============================================================================
   QR Code Specific Styles
   ============================================================================ */

.qr-code-canvas {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Success/Error States */
.success-message {
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-color);
    border-radius: 6px;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.error-message {
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error-color);
    border-radius: 6px;
    color: var(--error-color);
    margin-bottom: 1rem;
}
