/* Special Order Styles - Using existing design patterns */
.special-order-container {
    min-height: 100vh;
    padding: 6rem 2rem 3rem;
    background: #f8fafc;
}

/* Choice Screen */
.choice-screen {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.choice-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
}

.choice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #6366f1;
}

.choice-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.choice-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.choice-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Step Container */
.step-container {
    max-width: 1200px;
    margin: 0 auto;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.back-btn {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #6b7280;
}

.back-btn:hover {
    background: #f3f4f6;
    border-color: #6366f1;
    color: #6366f1;
}

.step-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

/* Categories Filter */
.categories-filter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}

.category-filter-btn {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #6b7280;
}

.category-filter-btn:hover,
.category-filter-btn.active {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: white;
    border-color: #6366f1;
}

/* Product Card Selected State */
.product-card.selected {
    border: 3px solid #6366f1;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.selected-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-description {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Forms */
.custom-form,
.client-form,
.dynamic-form {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.field-info {
    display: block;
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 400;
    margin-top: 0.25rem;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-input {
    display: none;
}

.file-upload-label {
    display: block;
    border: 2px dashed #e5e7eb;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.file-upload-label:hover {
    border-color: #6366f1;
    background: #f3f4f6;
}

.upload-placeholder {
    color: #6b7280;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.upload-hint {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

.image-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 10px;
    object-fit: contain;
}

/* Step Actions */
.step-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-primary {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

/* Success Screen */
.success-screen {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 4rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Alerts */
.alert-success,
.alert-error {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    font-weight: 600;
    animation: slideIn 0.3s ease-out;
}

.alert-success {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
}

.alert-error {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .choice-grid {
        grid-template-columns: 1fr;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .custom-form,
    .client-form,
    .dynamic-form {
        padding: 1.5rem;
    }
}
