.spicr-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    font-family: 'Inter', sans-serif;
    color: #333;
}

.spicr-header {
    text-align: center;
    margin-bottom: 30px;
}

.spicr-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.spicr-header p {
    color: #666;
    font-size: 1rem;
}

.spicr-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spicr-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(39, 60, 86, 0.08);
    padding: 24px;
    transition: all 0.3s ease;
}

.spicr-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.spicr-step-number {
    background: linear-gradient(135deg, #3a6bff, #1fd1f9);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.spicr-step h3 {
    margin: 0;
    font-size: 1.1rem;
}

.spicr-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.spicr-dropzone {
    border: 2px dashed #d4dce5;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    position: relative;
}

.spicr-dropzone:hover,
.spicr-dropzone.dragover {
    border-color: #4f7bff;
    background: rgba(79, 123, 255, 0.05);
}

.spicr-dropzone input[type='file'] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.spicr-preview {
    margin-top: 16px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    border: 1px solid #edf2fb;
    border-radius: 14px;
    padding: 12px;
    background: #fafbff;
}

.spicr-preview-card {
    text-align: center;
    display: grid;
    gap: 6px;
}

.spicr-image-preview {
    max-width: 100%;
    max-height: 160px;
    border-radius: 16px;
    object-fit: contain;
}

.spicr-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.spicr-field label {
    font-size: 0.95rem;
    color: #444;
}

.spicr-field input,
.spicr-field select {
    border: 1px solid #d4dce5;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    width: 100%;
}

.spicr-button {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, #3a6bff, #1fd1f9);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;
    padding: 14px 18px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spicr-button:hover:not(.spicr-disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(58, 107, 255, 0.25);
}

.spicr-button.spicr-disabled {
    background: #ccc;
    cursor: not-allowed;
}

.spicr-status {
    min-height: 24px;
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: #444;
}

.spicr-loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3a6bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spicr-resize-options {
    margin-bottom: 16px;
}

.spicr-checkbox {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.spicr-hidden {
    display: none;
}

@media (max-width: 640px) {
    .spicr-container {
        padding: 18px;
    }
}
