/* ============================================
   Product Customization Section
   ============================================ */
.product-customization-section {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(18, 84, 57, 0.1);
    animation: slideDownCustomization 0.3s ease;
}

@keyframes slideDownCustomization {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.customization-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(18, 84, 57, 0.1);
}

.customization-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #125439;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.customization-header h3 i {
    font-size: 1.3rem;
}

.btn-icon-sm {
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.btn-icon-sm:hover {
    background: rgba(18, 84, 57, 0.1);
    color: #125439;
}

.customization-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.custom-fields-dynamic,
.default-custom-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.custom-field-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.custom-field-row label {
    font-weight: 600;
    color: #125439;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.custom-field-row label i {
    font-size: 1rem;
    color: #406757;
}

.required {
    color: #dc3545;
    margin-right: 0.25rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(18, 84, 57, 0.2);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #333;
}

.form-control:focus {
    outline: none;
    border-color: #125439;
    box-shadow: 0 0 0 3px rgba(18, 84, 57, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #125439;
}

/* File Preview Section */
.file-preview-section {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(18, 84, 57, 0.1);
}

.file-preview-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #125439;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-preview-box {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 2px solid rgba(18, 84, 57, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.file-preview-content {
    margin-bottom: 1rem;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(18, 84, 57, 0.1);
}

.preview-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #125439, #406757);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.preview-info {
    flex: 1;
}

.preview-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #125439;
    margin: 0 0 0.5rem 0;
}

.preview-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0.25rem 0;
}

.preview-body {
    color: #333;
    line-height: 1.8;
    font-size: 0.95rem;
}

.preview-body p {
    margin: 0.5rem 0;
}

/* Customization Actions */
.customization-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(18, 84, 57, 0.1);
}

.customization-actions .btn {
    flex: 1;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
}

/* Responsive for Customization */
@media (max-width: 768px) {
    .product-customization-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .customization-header h3 {
        font-size: 1.3rem;
    }

    .customization-actions {
        flex-direction: column;
    }

    .customization-actions .btn {
        width: 100%;
    }

    .preview-header {
        flex-direction: column;
        text-align: center;
    }

    .preview-logo {
        margin: 0 auto;
    }
}

