.prod-dec-bg-gradient {
    /* background: linear-gradient(135deg, #e8e5ff 0%, #f0efff 50%, #e2e1ff 100%); */
    min-height: 100vh;
}

/* Main Container */
.prod-dec-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.prod-dec-main-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -3px rgb(0 0 0 / 10%), 0 4px 6px -2px rgb(1 1 1);
    padding: 2.5rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

/* Grid Layout */
.prod-dec-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .prod-dec-grid {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
    }
}

/* Left Column */
.prod-dec-left-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top:18%;
}

/* Image Upload */
.prod-dec-image-upload-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.prod-dec-dropzone {
    border: 2px dashed #c5c7f0;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fafafe;
}

.prod-dec-dropzone:hover {
    background-color: #f4f3ff;
    border-color: #a5b4fc;
}

.prod-dec-dropzone.prod-dec-dragover {
    border-color: #000000;
    background-color: #eef2ff;
}

.prod-dec-dropzone.prod-dec-success {
    /* border-color: #10b981; */
    background-color: #ecfdf5;
}

.prod-dec-upload-icon {
    width: 3rem;
    height: 3rem;
    color: #a5b4fc;
    margin-bottom: 1rem;
}

.prod-dec-upload-text {
    color: #000000;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.prod-dec-upload-formats {
    color: #000000;
    font-size: 0.875rem;
}

.prod-dec-preview-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.prod-dec-success-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #059669;
    font-weight: 500;
}

.prod-dec-success-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

#fileInput {
    display: none;
}

/* Input Summary Card */
.prod-dec-summary-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f4f3ff 100%);
    border: 1px solid #e5e4ff;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.prod-dec-summary-card h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.prod-dec-summary-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.prod-dec-summary-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

.prod-dec-summary-check {
    color: #10b981;
}

.prod-dec-summary-empty {
    width: 1rem;
    height: 1rem;
    border: 1px solid #c5c7f0;
    border-radius: 0.125rem;
    margin-right: 0.5rem;
}

.prod-dec-summary-text-success {
    color: #059669;
}

.prod-dec-summary-text-empty {
    color: #000000;
}

/* Right Column Form */
.prod-dec-form-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .prod-dec-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.prod-dec-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top:3%;
}

.prod-dec-form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #000000;
}

.prod-dec-form-input {
    padding: 0.75rem;
    border: 1px solid #c5c7f0;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
    background: #fafafe;
}

.prod-dec-form-input:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: white;
}

.prod-dec-form-textarea {
    padding: 0.75rem;
    border: 1px solid #c5c7f0;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    resize: vertical;
    min-height: 6rem;
    font-family: inherit;
    background: #fafafe;
}

.prod-dec-form-textarea:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: white;
}

.prod-dec-char-counter {
    font-size: 0.75rem;
    color: #000000;
    text-align: right;
}

/* Style Selection */
.prod-dec-style-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.prod-dec-style-grid {
    display: grid;
    gap: .3rem;
}

@media (min-width: 768px) {
    .prod-dec-style-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.prod-dec-style-option {
    position: relative;
}

.prod-dec-style-radio {
    position: absolute;
    opacity: 0;
}

.prod-dec-style-label {
    display: block;
    padding: 1rem;
    border: 1px solid #c5c7f0;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafafe;
}

.prod-dec-style-label:hover {
    background-color: #f4f3ff;
    border-color: #a5b4fc;
}

.prod-dec-style-radio:checked+.prod-dec-style-label {
    border-color: #000000;
    background-color: #eef2ff;
}

.prod-dec-style-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.prod-dec-style-icon {
    font-size: 1.125rem;
    margin-right: 0.5rem;
}

.prod-dec-style-name {
    font-weight: 500;
    text-transform: capitalize;
    color: #000000;
}

.prod-dec-style-desc {
    font-size: 0.875rem;
    color: #000000;
}

/* Advanced Settings */
.prod-dec-advanced-settings {
    border: 1px solid #e5e4ff;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fafafe;
}

.prod-dec-advanced-toggle {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f4f3ff 0%, #eef2ff 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #222222;
}

.prod-dec-advanced-content {
    padding: 1.5rem;
    display: none;
    background: white;
}

.prod-dec-advanced-content.prod-dec-open {
    display: block;
}


@media (min-width: 768px) {
    .prod-dec-slider-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.prod-dec-slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prod-dec-slider-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #000000;
}

.prod-dec-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e5e4ff;
    outline: none;
}

.prod-dec-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #339cfe;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

.prod-dec-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #339cfe;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

.prod-dec-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #339cfe;
}

/* Buttons */
.prod-dec-button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .prod-dec-button-group {
        flex-direction: row;
        align-items: center;
    }
}

.prod-dec-button-row {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.prod-dec-btn {
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    text-decoration: none;
}

.prod-dec-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.prod-dec-btn-primary {
    width: 100%;
    background-image: linear-gradient(40deg, rgb(51, 156, 254), rgb(11, 18, 34));
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: transform 0.2s;
    gap: 0.5rem;
}

.prod-dec-btn-primary:hover:not(:disabled) {
    background-image: linear-gradient(40deg, rgb(51, 156, 254), rgb(11, 18, 34));
    box-shadow: 0 6px 8px -1px rgba(99, 102, 241, 0.4);
}

.prod-dec-btn-outline {
    background: white;
    color: #6366f1;
    border: 1px solid #c5c7f0;
}

.prod-dec-btn-outline:hover:not(:disabled) {
    background: #f4f3ff;
    border-color: #a5b4fc;
}

.prod-dec-btn-ghost {
    background: transparent;
    color: #339cfe;
}

.prod-dec-btn-ghost:hover:not(:disabled) {
    background: #f4f3ff;
}

.prod-dec-btn-icon {
    width: 1rem;
    height: 1rem;
}

.prod-dec-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: prod-dec-spin 1s linear infinite;
}

@keyframes prod-dec-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Warning Message */
.prod-dec-warning {
    /* background: linear-gradient(135deg, #d7ecff 0%, #d3eaff 100%); */
    border: 1px solid #2f2f30;
    border-radius: 0.5rem;
    padding: 1rem;
    color: #010101;
    font-size: 0.875rem;
}

/* Results Section */
.prod-dec-results-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e4ff;
}

.prod-dec-results-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #000000;
}

.prod-dec-result-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f4f3ff 100%);
    border: 1px solid #e5e4ff;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.prod-dec-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.prod-dec-result-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #000000;
}

.prod-dec-result-badge {
    background: #e5e4ff;
    color: #000000;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    text-transform: capitalize;
}

.prod-dec-result-content {
    color: #2d3748;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.prod-dec-result-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #000000;
}

.prod-dec-results-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .prod-dec-results-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.prod-dec-variant-card {
    background: white;
    border: 1px solid #e5e4ff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.1);
}

.prod-dec-variant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.prod-dec-variant-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #000000;
}

.prod-dec-variant-content {
    color: #2d3748;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.prod-dec-variant-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #000000;
    margin-bottom: 1rem;
}

.prod-dec-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Toast Notifications */
.prod-dec-toast-container {
    position: absolute;
    top: 4rem;
    /* right: 1rem; */
    z-index: 1000;
}

.prod-dec-toast {
    background: white;
    border: 1px solid #e5e4ff;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 300px;
    animation: prod-dec-slideIn 0.3s ease-out;
}

.prod-dec-toast.prod-dec-success {
    border-left: 4px solid #10b981;
    color: #059669;
}

.prod-dec-toast.prod-dec-error {
    border-left: 4px solid #ef4444;
    color: #dc2626;
}

@keyframes prod-dec-slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.prod-dec-hidden {
    display: none !important;
}
.prod-dec-btn-primary img {
    width: 20px;
    height: 20px;
}
@media (max-width: 768px) {
.prod-dec-result-title {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    font-weight: 600;
    color: #4c51bf;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: center;
}
}