/* Container style */
.pd-container-eca668af {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
    max-width: 800px;
    margin: 20px auto;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Header style */
.pd-header-eca668af {
    text-align: center;
    margin-bottom: 25px;
}
.pd-title-eca668af {
    margin: 0 0 10px 0;
    font-size: 26px;
    font-weight: 700;
}
.pd-desc-eca668af {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

/* Layout Grid */
.pd-grid-eca668af {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .pd-grid-eca668af {
        grid-template-columns: 1fr;
    }
}

/* Fields Styling */
.pd-field-label-eca668af {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

/* Image Upload Area */
.pd-upload-zone-eca668af {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    background: #f8fafc;
    overflow: hidden;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.pd-upload-zone-eca668af:hover {
    border-color: #52b788;
    background: #f0fdf4;
}
.pd-file-input-eca668af {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.pd-upload-placeholder-eca668af p {
    margin: 5px 0 0 0;
    font-size: 13px;
    color: #64748b;
}
.pd-upload-icon-eca668af {
    font-size: 32px;
}
.pd-preview-wrap-eca668af {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}
.pd-image-preview-eca668af {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pd-remove-image-eca668af {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    transition: background-color 0.2s;
}
.pd-remove-image-eca668af:hover {
    background: rgba(220, 38, 38, 0.9);
}

/* Inputs & Form Groups */
.pd-form-group-eca668af {
    margin-bottom: 18px;
}
.pd-input-eca668af,
.pd-select-eca668af {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    background-color: #fff;
    color: #1e293b;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.pd-input-eca668af:focus,
.pd-select-eca668af:focus {
    outline: none;
    border-color: #2d6a4f;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

/* Diagnosis Buttons */
.pd-submit-wrap-eca668af {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.pd-btn-eca668af,
.pd-reset-btn-eca668af {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.pd-reset-btn-eca668af {
    background-color: #e2e8f0;
    color: #475569;
}
.pd-reset-btn-eca668af:hover {
    background-color: #cbd5e1;
    color: #1e293b;
}

/* Results Section styling */
.pd-result-card-eca668af {
    margin-top: 30px;
    border-top: 2px solid #f1f5f9;
    padding-top: 25px;
    animation: fadeInUp 0.4s ease;
}
.pd-result-header-eca668af {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.pd-result-title-eca668af {
    margin: 0;
    font-size: 20px;
    color: #1b4332;
    font-weight: 700;
}
.pd-severity-badge-eca668af {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.pd-severity-badge-eca668af.low {
    background-color: #d1fae5;
    color: #065f46;
}
.pd-severity-badge-eca668af.medium {
    background-color: #fef3c7;
    color: #92400e;
}
.pd-severity-badge-eca668af.high {
    background-color: #fee2e2;
    color: #991b1b;
}

.pd-result-details-eca668af {
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}
.pd-detail-row-eca668af {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
}
.pd-detail-row-eca668af strong {
    color: #0f172a;
    display: inline-block;
    width: 140px;
}
@media (max-width: 500px) {
    .pd-detail-row-eca668af strong {
        display: block;
        margin-bottom: 4px;
    }
}

/* Recommended Products styling */
.pd-recs-wrapper-eca668af h5 {
    font-size: 16px;
    color: #1e293b;
    margin: 0 0 15px 0;
    font-weight: 700;
}
.pd-products-grid-eca668af {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}
.pd-product-card-eca668af {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pd-product-card-eca668af:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.pd-prod-img-eca668af {
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.pd-prod-info-eca668af {
    padding: 12px;
}
.pd-prod-title-eca668af {
    font-size: 13px;
    margin: 0 0 5px 0;
    color: #1e293b;
    font-weight: 600;
}
.pd-prod-price-eca668af {
    display: block;
    font-weight: 700;
    color: #2d6a4f;
    font-size: 14px;
    margin-bottom: 10px;
}
.pd-add-to-cart-eca668af {
    width: 100%;
    background-color: #52b788;
    color: white;
    border: none;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.pd-add-to-cart-eca668af:hover {
    background-color: #2d6a4f;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
