/* Chica-Market Flash Sale - Style */
* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

/* Form inputs */
.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
    color: #1f2937;
}

.form-input:focus {
    outline: none;
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-input:disabled {
    background-color: #f9fafb;
    cursor: not-allowed;
}

.form-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Field errors */
.field-error {
    font-size: 11px;
    color: #ef4444;
    margin-top: 4px;
}

.field-error.hidden {
    display: none;
}

/* Step dots */
.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e7eb;
    color: #9ca3af;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.step-dot.active {
    background-color: #DC2626;
    color: white;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2);
}

.step-dot.done {
    background-color: #10b981;
    color: white;
}

/* Image cards */
.image-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    aspect-ratio: 1;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-card .image-actions {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    gap: 4px;
}

.image-card .image-order {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
}

/* Drag and drop */
#dropZone.drag-over {
    border-color: #DC2626;
    background-color: #FEF2F2;
}

/* Modal overlay */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

/* Summary styles */
.summary-section {
    border-bottom: 1px solid #f3f4f6;
    padding: 12px 0;
}

.summary-section:last-child {
    border-bottom: none;
}

.summary-label {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.summary-value {
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
}

/* Spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Flash badge pulse */
@keyframes pulse-flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.pulse-flash {
    animation: pulse-flash 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 640px) {
    .form-step .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}