 /* Reset et variables CSS */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }
 
 /* Optimisations de performance */
 html {
     scroll-behavior: smooth;
 }
 
 body {
     font-display: swap;
 }
 
 /* Amélioration de l'accessibilité */
 @media (prefers-reduced-motion: reduce) {
     *,
     *::before,
     *::after {
         animation-duration: 0.01ms !important;
         animation-iteration-count: 1 !important;
         transition-duration: 0.01ms !important;
         scroll-behavior: auto !important;
     }
 }

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --background-color: #f8fafc;
    --surface-color: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.2s ease-in-out;
}

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

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.header {
    text-align: center;
    padding: 3rem 0 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    margin-bottom: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.header-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-text {
    text-align: left;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.header h1 i {
    margin-right: 0.5rem;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Contenu principal */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    box-sizing: border-box;
}

/* Sections */
.form-section,
.customization-section,
.preview-section,
.export-section {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.form-section {
    grid-column: 1;
}

.customization-section {
    grid-column: 2;
}

.preview-section {
    grid-column: 1 / -1;
}

.export-section {
    grid-column: 1 / -1;
}

/* Titres de section */
.form-section h2,
.customization-section h2,
.preview-section h2,
.export-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Formulaire */
.stamp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Labels */
label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Inputs */
input,
textarea,
select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
    background-color: var(--surface-color);
    color: var(--text-primary);
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
}

/* Textarea */
textarea {
    resize: vertical;
    min-height: 80px;
}

/* Prévisualisation */
.preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    background: linear-gradient(45deg, #f1f5f9 25%, transparent 25%), 
                linear-gradient(-45deg, #f1f5f9 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f1f5f9 75%), 
                linear-gradient(-45deg, transparent 75%, #f1f5f9 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border-radius: var(--border-radius);
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

 .stamp-preview {
     background: white;
     border: 2px solid var(--border-color);
     border-radius: 8px;
     padding: 1.5rem;
     text-align: center;
     box-shadow: var(--shadow-md);
     transition: var(--transition);
     cursor: pointer;
     min-width: 200px;
     max-width: 400px;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
     width: 100%;
     box-sizing: border-box;
     position: relative;
 }

.stamp-preview:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

 .stamp-content {
     display: flex;
     flex-direction: column;
     gap: 0.3rem;
     height: 100%;
     justify-content: center;
     position: relative;
     z-index: 2;
 }

.company-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.company-details {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

 .company-details > div {
     margin-bottom: 0.2rem;
     word-wrap: break-word;
     overflow-wrap: break-word;
 }
 
 /* Logo personnalisé */
 .stamp-logo {
     position: absolute;
     width: 40px;
     height: 40px;
     background-size: contain;
     background-repeat: no-repeat;
     background-position: center;
     z-index: 2;
     pointer-events: none;
 }
 
 .stamp-background-logo {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-size: contain;
     background-repeat: no-repeat;
     background-position: center;
     opacity: 0.2;
     z-index: 0;
     pointer-events: none;
 }
 
 /* Positions du logo */
 .stamp-logo.position-top-left {
     top: 10px;
     left: 10px;
 }
 
 .stamp-logo.position-top-center {
     top: 10px;
     left: 50%;
     transform: translateX(-50%);
 }
 
 .stamp-logo.position-top-right {
     top: 10px;
     right: 10px;
 }
 
 .stamp-logo.position-bottom-left {
     bottom: 10px;
     left: 10px;
 }
 
 .stamp-logo.position-bottom-center {
     bottom: 10px;
     left: 50%;
     transform: translateX(-50%);
 }
 
 .stamp-logo.position-bottom-right {
     bottom: 10px;
     right: 10px;
 }
 
 /* Input file */
 .file-input {
     padding: 0.5rem;
     border: 2px dashed var(--border-color);
     background-color: var(--background-color);
     cursor: pointer;
     transition: var(--transition);
 }
 
 .file-input:hover {
     border-color: var(--primary-color);
     background-color: rgba(37, 99, 235, 0.05);
 }
 
 .file-input:focus {
     border-color: var(--primary-color);
     box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
 }
 
 /* Range input */
 .range-input {
     width: 100%;
     height: 6px;
     border-radius: 3px;
     background: var(--border-color);
     outline: none;
     cursor: pointer;
     -webkit-appearance: none;
 }
 
 .range-input::-webkit-slider-thumb {
     -webkit-appearance: none;
     appearance: none;
     width: 18px;
     height: 18px;
     border-radius: 50%;
     background: var(--primary-color);
     cursor: pointer;
     transition: var(--transition);
 }
 
 .range-input::-webkit-slider-thumb:hover {
     background: var(--primary-hover);
     transform: scale(1.1);
 }
 
 .range-input::-moz-range-thumb {
     width: 18px;
     height: 18px;
     border-radius: 50%;
     background: var(--primary-color);
     cursor: pointer;
     border: none;
     transition: var(--transition);
 }
 
 .range-input::-moz-range-thumb:hover {
     background: var(--primary-hover);
     transform: scale(1.1);
 }
 
 .range-value {
     text-align: center;
     margin-top: 0.5rem;
     font-size: 0.9rem;
     color: var(--text-secondary);
     font-weight: 500;
 }
 
 .form-help {
     font-size: 0.8rem;
     color: var(--text-secondary);
     margin-top: 0.25rem;
 }

/* Styles de tampon */
.stamp-preview.classic {
    border: 3px solid var(--text-primary);
    background: rgb(255, 255, 255);
}

.stamp-preview.modern {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.stamp-preview.elegant {
    border: 1px solid var(--text-primary);
    background: white;
    box-shadow: 0 0 0 1px var(--text-primary), 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stamp-preview.minimal {
    border: 1px solid var(--border-color);
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Personnalisation des couleurs */
.color-customization {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.color-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.color-customization h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.refresh-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.refresh-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.refresh-btn:active {
    transform: scale(0.95);
}

.color-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.color-input-group input[type="color"] {
    width: 50px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
}

.color-text-input {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    min-width: 0;
    box-sizing: border-box;
}

 /* Tailles de tampon */
 .stamp-preview.size-small {
     width: 250px;
     height: 150px;
     font-size: 0.7rem;
     padding: 0.8rem;
 }
 
 .stamp-preview.size-small .stamp-logo {
     width: 30px;
     height: 30px;
 }

 .stamp-preview.size-medium {
     width: 350px;
     height: 180px;
     font-size: 0.8rem;
     padding: 1rem;
 }
 
 .stamp-preview.size-medium .stamp-logo {
     width: 40px;
     height: 40px;
 }

 .stamp-preview.size-large {
     width: 400px;
     height: 250px;
     font-size: 0.9rem;
     padding: 1.2rem;
 }
 
 .stamp-preview.size-large .stamp-logo {
     width: 50px;
     height: 50px;
 }

/* Boutons d'export */
.export-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.export-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
}

.export-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.png-btn {
    background-color: var(--success-color);
    color: white;
}

.png-btn:hover {
    background-color: #059669;
}

.jpeg-btn {
    background-color: var(--warning-color);
    color: white;
}

.jpeg-btn:hover {
    background-color: #d97706;
}

.pdf-btn {
    background-color: var(--danger-color);
    color: white;
}

.pdf-btn:hover {
    background-color: #dc2626;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

/* Responsive Design - Mobile First Approach */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .main-content {
        gap: 3rem;
    }
    
    .stamp-preview.size-large {
        width: 500px;
        height: 300px;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }
    
    .main-content {
        gap: 2rem;
    }
    
    .stamp-preview.size-large {
        width: 450px;
        height: 280px;
    }
    
    .form-section,
    .customization-section,
    .preview-section,
    .export-section {
        padding: 2rem;
    }
}

/* Desktop Medium (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }
    
    .main-content {
        gap: 2rem;
    }
    
    .stamp-preview.size-large {
        width: 400px;
        height: 250px;
    }
    
    .form-section,
    .customization-section,
    .preview-section,
    .export-section {
        padding: 2rem;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }
    
    .main-content {
        gap: 1.5rem;
    }
    
    .stamp-preview.size-large {
        width: 350px;
        height: 200px;
    }
    
    .form-section,
    .customization-section,
    .preview-section,
    .export-section {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .export-buttons {
        gap: 1rem;
    }
    
    .export-btn {
        min-width: 120px;
        padding: 0.8rem 1.5rem;
    }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-section,
    .customization-section {
        grid-column: 1;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-section,
    .customization-section,
    .preview-section,
    .export-section {
        padding: 1.5rem;
    }

    .header-content {
        gap: 1rem;
    }
    
    .header-logo {
        width: 60px;
        height: 60px;
    }
    
    .header h1 {
        font-size: 2rem;
    }

    .export-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .export-btn {
        width: 100%;
        max-width: 300px;
    }

    .stamp-preview.size-large {
        width: 320px;
        height: 180px;
    }
    
    .color-input-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .color-input-group input[type="color"] {
        width: 60px;
        height: 45px;
    }
    
    .preview-container {
        padding: 1.5rem;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .main-content {
        gap: 1.5rem;
    }
    
    .stamp-preview.size-large {
        width: 300px;
        height: 170px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-section,
    .customization-section,
    .preview-section,
    .export-section {
        padding: 1.5rem;
    }
    
    .preview-container {
        padding: 1.5rem;
    }
}

/* Mobile (575px and below) */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }

    .form-section,
    .customization-section,
    .preview-section,
    .export-section {
        padding: 1.5rem;
    }

    .header {
        padding: 2rem 0 1.5rem;
    }

    .header-content {
        gap: 0.8rem;
    }
    
    .header-logo {
        width: 50px;
        height: 50px;
    }
    
    .header h1 {
        font-size: 1.75rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .stamp-preview {
        min-width: 200px;
        max-width: 320px;
    }
    
    .stamp-preview.size-small {
        width: 220px;
        height: 130px;
        font-size: 0.6rem;
        padding: 0.7rem;
    }
    
    .stamp-preview.size-medium {
        width: 260px;
        height: 150px;
        font-size: 0.65rem;
        padding: 0.9rem;
    }
    
    .stamp-preview.size-large {
        width: 300px;
        height: 180px;
        font-size: 0.7rem;
        padding: 1.1rem;
    }
    
    .company-name {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .company-details {
        font-size: 0.65rem;
    }
    
    .company-details > div {
        margin-bottom: 0.15rem;
    }
    
    .color-input-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .color-input-group input[type="color"] {
        width: 60px;
        height: 45px;
    }
    
    .refresh-btn {
        width: 40px;
        height: 40px;
    }
    
    .preview-container {
        padding: 1.2rem;
    }
    
    .export-buttons {
        gap: 0.8rem;
    }
    
    .export-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (375px and below) */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    .form-section,
    .customization-section,
    .preview-section,
    .export-section {
        padding: 1rem;
    }
    
    .header-content {
        gap: 0.6rem;
    }
    
    .header-logo {
        width: 40px;
        height: 40px;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .header p {
        font-size: 0.9rem;
    }
    
    .stamp-preview {
        min-width: 180px;
        max-width: 280px;
    }
    
    .stamp-preview.size-small {
        width: 200px;
        height: 120px;
        font-size: 0.55rem;
        padding: 0.6rem;
    }
    
    .stamp-preview.size-medium {
        width: 220px;
        height: 130px;
        font-size: 0.6rem;
        padding: 0.7rem;
    }
    
    .stamp-preview.size-large {
        width: 240px;
        height: 150px;
        font-size: 0.65rem;
        padding: 0.9rem;
    }
    
    .company-name {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .company-details {
        font-size: 0.6rem;
    }
    
    .company-details > div {
        margin-bottom: 0.15rem;
    }
    
    .export-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    .preview-container {
        padding: 1rem;
    }
}

/* Very Small Mobile (320px and below) */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }
    
    .form-section,
    .customization-section,
    .preview-section,
    .export-section {
        padding: 0.8rem;
    }
    
    .header-content {
        gap: 0.5rem;
    }
    
    .header-logo {
        width: 35px;
        height: 35px;
    }
    
    .header h1 {
        font-size: 1.3rem;
    }
    
    .header p {
        font-size: 0.8rem;
    }
    
    .stamp-preview {
        min-width: 160px;
        max-width: 240px;
    }
    
    .stamp-preview.size-small {
        width: 180px;
        height: 110px;
        font-size: 0.5rem;
        padding: 0.5rem;
    }
    
    .stamp-preview.size-medium {
        width: 200px;
        height: 120px;
        font-size: 0.55rem;
        padding: 0.6rem;
    }
    
    .stamp-preview.size-large {
        width: 220px;
        height: 140px;
        font-size: 0.6rem;
        padding: 0.8rem;
    }
    
    .company-name {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .company-details {
        font-size: 0.55rem;
    }
    
    .company-details > div {
        margin-bottom: 0.15rem;
    }
    
    .export-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .preview-container {
        padding: 0.8rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .header {
        padding: 1rem 0;
    }
    
    .header-content {
        gap: 0.5rem;
    }
    
    .header-logo {
        width: 40px;
        height: 40px;
    }
    
    .header h1 {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .header p {
        font-size: 0.9rem;
    }
    
    .main-content {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .form-section,
    .customization-section,
    .preview-section,
    .export-section {
        padding: 1rem;
    }
    
    .stamp-preview.size-large {
        width: 200px;
        height: 120px;
    }
    
    .preview-container {
        padding: 1rem;
    }
}

 /* Touch Device Optimizations */
 @media (hover: none) and (pointer: coarse) {
     .export-btn {
         min-height: 44px;
         padding: 1rem 2rem;
     }
     
     input, textarea, select {
         min-height: 44px;
         font-size: 16px; /* Prevents zoom on iOS */
     }
     
     .color-input-group input[type="color"] {
         width: 60px;
         height: 44px;
     }
     
     .refresh-btn {
         width: 44px;
         height: 44px;
     }
     
     .stamp-logo {
         width: 35px;
         height: 35px;
     }
     
     .file-input {
         min-height: 44px;
     }
 }

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .stamp-preview {
        border-width: 1px;
    }
    
    .export-btn {
        border-width: 1px;
    }
}

/* Overflow Prevention */
body {
    overflow-x: hidden;
    width: 100%;
}

/* Ensure all elements respect container bounds */
* {
    max-width: 100%;
}

/* Fix for potential grid overflow issues */
@media (max-width: 991px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .color-input-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .color-input-group input[type="color"] {
        width: 60px;
        height: 45px;
    }
}

/* Additional responsive fixes */
@media (max-width: 1200px) {
    .stamp-preview {
        max-width: 100%;
    }
    
    .preview-container {
        padding: 1rem;
    }
}

/* Dark Mode Support (Future) */
@media (prefers-color-scheme: dark) {
    /* Styles pour le mode sombre seront ajoutés ici */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}



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

.form-section,
.customization-section,
.preview-section,
.export-section {
    animation: fadeIn 0.6s ease-out;
}

/* États de chargement */
.export-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.export-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

.notification.success {
    background-color: var(--success-color);
}

.notification.error {
    background-color: var(--danger-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
