/*
====================================
EzFile - Componentes CSS
====================================

Botones, tarjetas, grids, iconos y componentes principales.
*/

/* TARJETAS */
.ez-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.ez-card-header {
    margin-bottom: 1.5rem;
}

.ez-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.ez-card-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* GRID DE HERRAMIENTAS */
.ez-tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.ez-tool-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
    text-align: center;
}

.ez-tool-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.ez-tool-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

/* BOTONES */
.ez-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.ez-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.ez-btn-secondary {
    background: var(--neutral-100);
    color: var(--neutral-700);
    border: 1px solid var(--neutral-300);
}

.ez-btn-secondary:hover {
    background: var(--neutral-200);
    color: var(--neutral-800);
}

.ez-btn-success {
    background: var(--secondary);
}

.ez-btn-success:hover {
    background: var(--secondary-dark);
}

.ez-btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* GRADIENTES DE TEXTO */
.ez-text-gradient {
    background: var(--text-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.ez-text-gradient-rainbow {
    background: var(--text-gradient-rainbow);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    animation: rainbowShift 3s ease-in-out infinite;
}

.ez-text-gradient-fire {
    background: var(--text-gradient-fire);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.ez-text-gradient-ocean {
    background: var(--text-gradient-ocean);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

@keyframes rainbowShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* TARJETAS MEJORADAS */
.ez-card-gradient {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

[data-theme="dark"] .ez-card-gradient {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.9) 0%, rgba(15, 15, 35, 0.8) 100%);
    border: 1px solid rgba(51, 65, 85, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ez-card-gradient:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .ez-card-gradient:hover {
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Estilos adicionales para tema oscuro */
[data-theme="dark"] .ez-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ez-tool-card-enhanced {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ez-tool-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-cool);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.ez-tool-card-enhanced:hover::before {
    opacity: 0.1;
}

.ez-tool-card-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.4);
}

/* BOTONES MODERNOS */
.ez-btn-gradient {
    background: var(--gradient-primary);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.ez-btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.ez-btn-gradient:hover::before {
    left: 100%;
}

.ez-btn-gradient:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ICONOS MODERNOS */
.ez-tool-icon-gradient {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ez-tool-icon-gradient:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* TEMA OSCURO - COMPONENTES */
[data-theme="dark"] .ez-tool-card-enhanced {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 15, 35, 0.9) 100%);
    border: 1px solid rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .ez-tool-card-enhanced:hover {
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(99, 102, 241, 0.3);
}

/* ========================================================================
   IMAGE CROP TOOL STYLES
   ======================================================================== */

/* Tool header */
.tool-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.tool-header-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex: 1;
}

.tool-header-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(102, 102, 255, 0.3);
}

.tool-header-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.tool-header-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.feature-badge:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    color: var(--primary-700);
}

.feature-badge svg {
    width: 14px;
    height: 14px;
    color: var(--primary-600);
}

/* Image upload zone */
.image-upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.image-upload-zone:hover {
    border-color: var(--primary-400);
    background: var(--primary-50);
}

.image-upload-zone.drag-over {
    border-color: var(--primary-500);
    background: var(--primary-100);
    transform: scale(1.02);
}

.upload-zone-content {
    position: relative;
    z-index: 2;
}

.upload-zone-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.upload-zone-icon {
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.image-upload-zone:hover .upload-zone-icon {
    color: var(--primary-500);
    transform: scale(1.1);
}

.upload-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-500);
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(102, 102, 255, 0.3);
}

.upload-zone-text {
    margin-bottom: 1.5rem;
}

.upload-title-main {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.upload-title-sub {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.upload-zone-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.upload-zone-features .feature-badge {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

/* Crop mode selector */
.crop-mode-selector {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.crop-mode-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 150px;
}

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

.crop-mode-btn.active {
    border-color: var(--primary-500);
    background: var(--primary-100);
    color: var(--primary-700);
}

.crop-mode-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Grid configuration */
.grid-config {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
}

.grid-controls {
    display: flex;
    align-items: end;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

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

.control-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.grid-input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-weight: 500;
    text-align: center;
}

.grid-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(102, 102, 255, 0.1);
}

.grid-info {
    background: var(--warning-50);
    border: 1px solid var(--warning-200);
    border-radius: 8px;
    padding: 1rem;
    color: var(--warning-800);
}

.grid-info p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Image editor */
.image-editor-container {
    position: relative;
    background: var(--neutral-100);
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.editor-canvas {
    position: relative;
    max-width: 100%;
    max-height: 600px;
    user-select: none;
}

.editor-canvas img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Overlays */
.crop-overlay,
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.crop-overlay {
    pointer-events: all;
}

.crop-selection {
    position: absolute;
    background: transparent;
    cursor: move;
    pointer-events: all;
    border: 2px dashed #ffffff;
    border-radius: 0;
    
    /* Sombra sutil para contraste */
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Pseudo-elemento para crear el efecto de dash móvil */
.crop-selection::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px dashed rgba(255, 255, 255, 0.6);
    pointer-events: none;
    animation: dashMove 2s linear infinite;
}

@keyframes dashMove {
    0% {
        border-color: rgba(255, 255, 255, 0.6);
        transform: rotate(0deg);
    }
    50% {
        border-color: rgba(255, 255, 255, 0.3);
        transform: rotate(0.1deg);
    }
    100% {
        border-color: rgba(255, 255, 255, 0.6);
        transform: rotate(0deg);
    }
}

.crop-selection::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    pointer-events: none;
}

/* Handles de redimensionamiento */
.crop-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border: 2px solid #333333;
    border-radius: 50%;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    pointer-events: all;
    transition: all 0.2s ease;
    z-index: 10;
}

.crop-handle:hover {
    transform: scale(1.2);
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
    box-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.crop-handle:active {
    transform: scale(1.1);
    background: linear-gradient(135deg, #f0f0f0 0%, #d8d8d8 100%);
}

.crop-handle.nw { top: -5px; left: -5px; cursor: nw-resize; }
.crop-handle.ne { top: -5px; right: -5px; cursor: ne-resize; }
.crop-handle.sw { bottom: -5px; left: -5px; cursor: sw-resize; }
.crop-handle.se { bottom: -5px; right: -5px; cursor: se-resize; }
.crop-handle.n { top: -5px; left: 50%; transform: translateX(-50%); cursor: n-resize; }
.crop-handle.s { bottom: -5px; left: 50%; transform: translateX(-50%); cursor: s-resize; }
.crop-handle.w { top: 50%; left: -5px; transform: translateY(-50%); cursor: w-resize; }
.crop-handle.e { top: 50%; right: -5px; transform: translateY(-50%); cursor: e-resize; }

.crop-handle.n:hover,
.crop-handle.s:hover { 
    transform: translateX(-50%) scale(1.2); 
}

.crop-handle.w:hover,
.crop-handle.e:hover { 
    transform: translateY(-50%) scale(1.2); 
}

.crop-handle.n:active,
.crop-handle.s:active { 
    transform: translateX(-50%) scale(1.1); 
}

.crop-handle.w:active,
.crop-handle.e:active { 
    transform: translateY(-50%) scale(1.1); 
}

.grid-overlay {
    pointer-events: all;
}

.grid-cell {
    position: absolute;
    border: 2px dashed #000000;
    background: rgba(0, 0, 0, 0.02);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.grid-cell:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: #333333;
}

.cell-label {
    position: absolute;
    top: 4px;
    left: 4px;
    background: var(--primary-500);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
}

.grid-separator {
    position: absolute;
    background: #000000;
    cursor: pointer;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.grid-separator:hover {
    opacity: 0.9;
    background: #333333;
}

.grid-separator-row {
    height: 4px;
    cursor: row-resize;
}

.grid-separator-col {
    width: 4px;
    cursor: col-resize;
}

/* Botones de los separadores de cuadrícula */
.grid-separator-handle {
    position: absolute;
    background: var(--primary-color);
    border: 2px solid white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 15;
    opacity: 0.8;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.grid-separator-handle:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.grid-separator-handle::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.grid-separator-row .grid-separator-handle {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: row-resize;
}

.grid-separator-col .grid-separator-handle {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: col-resize;
}

/* Indicadores de dirección */
.grid-separator-row .grid-separator-handle::after {
    content: '↕';
    position: absolute;
    color: white;
    font-size: 10px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.grid-separator-col .grid-separator-handle::after {
    content: '↔';
    position: absolute;
    color: white;
    font-size: 10px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Action controls */
.action-controls {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

/* Progress modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.progress-container {
    text-align: center;
}

.progress-icon {
    margin-bottom: 1.5rem;
}

.spinner {
    animation: spin 1s linear infinite;
    color: var(--primary-500);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.progress-container h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
}

.progress-container p {
    margin: 0 0 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--neutral-200);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
    animation: progress-flow 2s ease-in-out infinite;
}

@keyframes progress-flow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* CONSEJOS Y AYUDA - IMAGE CROP */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background: var(--surface-subtle);
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: var(--surface-hover);
    transform: translateY(-1px);
}

.tip-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
    font-weight: 500;
}

/* SECCIÓN DE AYUDA CONTEXTUAL */
.help-section {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--surface-subtle);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.help-section h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-section p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.help-rectangle,
.help-grid {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .ez-tool-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ez-tool-card-enhanced {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .ez-card-gradient {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .ez-tool-icon-gradient {
        width: 60px;
        height: 60px;
    }
    
    .ez-text-gradient {
        background-size: 200% auto;
    }
    
    .tool-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .tool-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .tool-header-text h1 {
        font-size: 2rem;
    }
    
    .crop-mode-selector {
        flex-direction: column;
    }
    
    .crop-mode-btn {
        min-width: 100%;
        justify-content: center;
    }
    
    .grid-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .image-upload-zone {
        padding: 2rem 1rem;
    }
    
    .upload-zone-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-badge {
        justify-content: center;
    }
}
