/* WooCommerce Cost Calculator Styles */

/* Import Nunito Sans font */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap');

.wdm-wcc-calculator {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 12px;
}

.wdm-wcc-title {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.wdm-wcc-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 20px;
}

.wdm-wcc-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.wdm-wcc-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.wdm-wcc-step h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

/* Options Grid */
.wdm-wcc-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.wdm-wcc-option {
    background: #fff;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.wdm-wcc-option:hover {
    border-color: #007cba;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.15);
}

.wdm-wcc-option.selected {
    border-color: #007cba;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.3);
}

.wdm-wcc-option h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: inherit;
}

.wdm-wcc-option p {
    font-size: 12px;
    margin: 0;
    opacity: 0.8;
    color: inherit;
}

/* Full-width option for third option */
.wdm-wcc-option:last-child {
    grid-column: 1 / -1;
}

/* Form Elements */
.wdm-wcc-form-group {
    margin-bottom: 25px;
}

.wdm-wcc-form-group .wdm-wcc-btn {
    margin-top: 15px;
}

.wdm-wcc-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.wdm-wcc-form-group input[type="text"],
.wdm-wcc-form-group input[type="email"],
.wdm-wcc-form-group input[type="tel"],
.wdm-wcc-form-group input[type="url"],
.wdm-wcc-form-group textarea,
.wdm-wcc-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 12px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.wdm-wcc-form-group input:focus,
.wdm-wcc-form-group textarea:focus,
.wdm-wcc-form-group select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.wdm-wcc-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox and Radio Groups */
.wdm-wcc-checkbox-group,
.wdm-wcc-radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

/* Add-ons step specific styling - 3 columns */
.wdm-wcc-step-add-ons .wdm-wcc-checkbox-group {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.wdm-wcc-checkbox-group label,
.wdm-wcc-radio-group label {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.wdm-wcc-checkbox-group label:hover,
.wdm-wcc-radio-group label:hover {
    border-color: #007cba;
    background: #f0f8ff;
}

.wdm-wcc-checkbox-group input[type="checkbox"],
.wdm-wcc-radio-group input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
    accent-color: #007cba;
}

.wdm-wcc-checkbox-group input[type="checkbox"]:checked + *,
.wdm-wcc-radio-group input[type="radio"]:checked + * {
    color: #007cba;
    font-weight: 600;
}

/* Buttons */
.wdm-wcc-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.wdm-wcc-btn-primary {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
}

.wdm-wcc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4);
}

.wdm-wcc-btn-secondary {
    background: #6c757d;
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.wdm-wcc-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.wdm-wcc-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Navigation */
.wdm-wcc-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e1e5e9;
}

/* Analysis Results */
.wdm-wcc-analysis-result {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.wdm-wcc-analysis-result.loading {
    text-align: center;
    color: #007cba;
}

.wdm-wcc-analysis-result.error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.wdm-wcc-analysis-result.success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* Results Step */
.wdm-wcc-results {
    text-align: left;
}

.wdm-wcc-results-content {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
}

.wdm-wcc-estimate {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.wdm-wcc-estimate h4 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 600;
}

.wdm-wcc-cost {
    font-size: 14px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.wdm-wcc-timeline {
    font-size: 12px;
    margin: 10px 0 0 0;
    opacity: 0.9;
}

.wdm-wcc-breakdown {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}

.wdm-wcc-breakdown h5 {
    color: #007cba;
    margin: 0 0 20px 0;
    font-size: 14px;
    font-weight: 600;
}

.wdm-wcc-breakdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wdm-wcc-breakdown li {
    background: white;
    padding: 15px 20px;
    margin: 10px 0;
    border-radius: 6px;
    border-left: 4px solid #007cba;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wdm-wcc-tools {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}

.wdm-wcc-tools h5 {
    color: #007cba;
    margin: 0 0 20px 0;
    font-size: 14px;
    font-weight: 600;
}

.wdm-wcc-tools ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wdm-wcc-tools li {
    background: white;
    padding: 15px 20px;
    margin: 10px 0;
    border-radius: 6px;
    border-left: 4px solid #28a745;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wdm-wcc-analysis {
    background: #e8f4fd;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
    border: 1px solid #b3d9ff;
}

.wdm-wcc-analysis h5 {
    color: #007cba;
    margin: 0 0 20px 0;
    font-size: 14px;
    font-weight: 600;
}

.wdm-wcc-analysis p {
    margin: 10px 0;
    line-height: 1.6;
}

.wdm-wcc-actions {
    margin-top: 30px;
    text-align: center;
}

.wdm-wcc-actions .wdm-wcc-btn {
    font-size: 12px;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.wdm-wcc-actions .wdm-wcc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Loading Spinner */
.wdm-wcc-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .wdm-wcc-calculator {
        padding: 10px;
    }
    
    .wdm-wcc-container {
        padding: 20px;
    }
    
    .wdm-wcc-options {
        grid-template-columns: 1fr;
    }
    
    .wdm-wcc-option:last-child {
        grid-column: 1;
    }
    
    .wdm-wcc-checkbox-group,
    .wdm-wcc-radio-group {
        grid-template-columns: 1fr;
    }
    
    /* Add-ons step mobile - 2 columns on medium screens, 1 on small */
    .wdm-wcc-step-add-ons .wdm-wcc-checkbox-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Very small screens - single column for add-ons */
@media (max-width: 480px) {
    .wdm-wcc-step-add-ons .wdm-wcc-checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* Progress Indicator */
.wdm-wcc-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.wdm-wcc-progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-weight: bold;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.wdm-wcc-progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 20px;
    height: 2px;
    background: #ddd;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.wdm-wcc-progress-step.active {
    background: #007cba;
    color: white;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.2);
}

.wdm-wcc-progress-step.completed {
    background: #00a32a;
    color: white;
}

.wdm-wcc-progress-step.completed::after {
    background: #00a32a;
}

/* Analysis summary styling */
.wdm-wcc-analysis-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin: 20px 0;
}

.wdm-wcc-analysis-details {
    margin: 20px 0;
}

.wdm-wcc-analysis-item {
    background: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 6px;
    border-left: 4px solid #007cba;
}

.wdm-wcc-analysis-item strong {
    color: #007cba;
    display: block;
    margin-bottom: 5px;
}

.wdm-wcc-analysis-actions {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* Add-ons estimate styling */
.wdm-wcc-add-ons-estimate {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin: 20px 0;
}

/* Analysis styling for add-ons */
.wdm-wcc-analysis {
    background: #e8f4fd;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.wdm-wcc-analysis h4 {
    color: #007cba;
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 600;
}

.wdm-wcc-analysis-description {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #007cba;
    margin-bottom: 15px;
}

.wdm-wcc-analysis-detail {
    background: #fff;
    padding: 10px 15px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
}

.wdm-wcc-analysis-detail strong {
    color: #007cba;
    font-weight: 600;
}

.complexity-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}

.complexity-badge.complexity-low {
    background: #d4edda;
    color: #155724;
}

.complexity-badge.complexity-medium {
    background: #fff3cd;
    color: #856404;
}

.complexity-badge.complexity-high {
    background: #f8d7da;
    color: #721c24;
}

.plugin-badge {
    display: inline-block;
    background: #007cba;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin: 2px;
}

.wdm-wcc-add-ons-estimate h4 {
    color: #007cba;
    margin-bottom: 15px;
}

.wdm-wcc-add-ons-estimate ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.wdm-wcc-add-ons-estimate li {
    background: white;
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 4px;
    border-left: 3px solid #007cba;
}

.wdm-wcc-cost-estimate {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
    text-align: center;
}

.wdm-wcc-cost-value {
    font-size: 14px;
    font-weight: bold;
    color: #007cba;
    margin: 10px 0;
}

.wdm-wcc-cost-description {
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

/* Requirements Analysis Styling */
.wdm-wcc-requirements-analysis {
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.wdm-wcc-requirements-analysis h5 {
    margin: 0 0 15px 0;
    color: #1d2327;
    font-size: 14px;
    font-weight: 600;
}

.feasibility-status {
    margin-bottom: 15px;
}

.feasible-badge, .not-feasible-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.feasible-badge {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.not-feasible-badge {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wdm-wcc-requirements-analysis h6 {
    margin: 15px 0 8px 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wdm-wcc-requirements-analysis p {
    margin: 0 0 10px 0;
    line-height: 1.6;
}

.wdm-wcc-requirements-analysis ul {
    margin: 0 0 15px 0;
    padding-left: 20px;
}

.wdm-wcc-requirements-analysis li {
    margin-bottom: 5px;
    line-height: 1.5;
}

.complexity-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.complexity-low {
    background: #d4edda;
    color: #155724;
}

.complexity-medium {
    background: #fff3cd;
    color: #856404;
}

.complexity-high {
    background: #f8d7da;
    color: #721c24;
}

.analysis-description,
.technical-approach {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #007cba;
    margin-bottom: 15px;
}

.required-plugins,
.challenges,
.alternatives {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
    margin-bottom: 15px;
}

.required-plugins ul,
.challenges ul,
.alternatives ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.required-plugins li,
.challenges li,
.alternatives li {
    background: #f8f9fa;
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 4px;
    border-left: 3px solid #007cba;
}

.challenges li {
    border-left-color: #ffc107;
}

.alternatives li {
    border-left-color: #28a745;
}

/* Recommendations Styling */
.wdm-wcc-recommendations {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wdm-wcc-recommendations h4 {
    color: #007cba;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.wdm-wcc-themes, .wdm-wcc-plugins, .wdm-wcc-requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.wdm-wcc-theme-item, .wdm-wcc-plugin-item, .wdm-wcc-requirement-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.wdm-wcc-theme-item:hover, .wdm-wcc-plugin-item:hover, .wdm-wcc-requirement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.wdm-wcc-theme-item h5, .wdm-wcc-plugin-item h5, .wdm-wcc-requirement-item h5 {
    color: #333;
    margin: 0 0 10px 0;
    font-size: 12px;
    font-weight: 600;
}

.wdm-wcc-theme-item p, .wdm-wcc-plugin-item p, .wdm-wcc-requirement-item p {
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.wdm-wcc-price {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #007cba;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
}

.wdm-wcc-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.wdm-wcc-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007cba;
}

.wdm-wcc-timeline-week {
    background: #007cba;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
}

.wdm-wcc-timeline-item h5 {
    color: #333;
    margin: 0 0 8px 0;
    font-size: 12px;
    font-weight: 600;
}

.wdm-wcc-timeline-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.wdm-wcc-actions {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e1e1e1;
}

.wdm-wcc-actions .wdm-wcc-btn {
    margin: 0 10px;
    padding: 12px 30px;
    font-size: 12px;
    font-weight: 600;
}

/* Start Over Button */
#start-over {
    background: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

#start-over:hover {
    background: #5a6268;
    border-color: #545b62;
}

/* Tooltip System */
.wdm-wcc-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    border-bottom: 1px dotted #007cba;
    color: #007cba;
}

.wdm-wcc-tooltip .wdm-wcc-tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 12px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -150px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.wdm-wcc-tooltip .wdm-wcc-tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.wdm-wcc-tooltip:hover .wdm-wcc-tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Tooltip for cost ranges */
.wdm-wcc-cost-tooltip {
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 5px 0;
    position: relative;
}

.wdm-wcc-cost-tooltip .tooltip-icon {
    color: #007cba;
    cursor: help;
    margin-left: 5px;
}

/* Enhanced Results Display */
.wdm-wcc-results-enhanced {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wdm-wcc-results-header {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.wdm-wcc-results-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.wdm-wcc-results-summary {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e1e1;
}

.wdm-wcc-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.wdm-wcc-summary-item {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #007cba;
    text-align: center;
}

.wdm-wcc-summary-item h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wdm-wcc-summary-item .value {
    font-size: 20px;
    font-weight: bold;
    color: #007cba;
}

.wdm-wcc-results-details {
    padding: 20px;
}

.wdm-wcc-detail-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f1f1;
}

.wdm-wcc-detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.wdm-wcc-detail-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.wdm-wcc-detail-section h4 .tooltip-icon {
    margin-left: 8px;
    font-size: 16px;
}

.wdm-wcc-tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.wdm-wcc-tool-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #28a745;
    position: relative;
}

.wdm-wcc-tool-item.optional {
    border-left-color: #ffc107;
}

.wdm-wcc-tool-item h5 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.wdm-wcc-tool-item p {
    margin: 0 0 8px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.wdm-wcc-tool-price {
    font-weight: bold;
    color: #007cba;
    font-size: 14px;
}

.wdm-wcc-timeline-enhanced {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #007cba;
}

.wdm-wcc-timeline-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.wdm-wcc-timeline-step {
    background: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #007cba;
    border: 1px solid #007cba;
}

/* PDF Download Button */
.wdm-wcc-pdf-download {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.wdm-wcc-pdf-download:hover {
    background: #c82333;
    color: white;
    text-decoration: none;
}

.wdm-wcc-pdf-download:before {
    content: "📄";
    font-size: 18px;
}

/* Business Language Improvements */
.wdm-wcc-business-term {
    background: #e8f4fd;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    color: #007cba;
    cursor: help;
    border-bottom: 1px dotted #007cba;
}

/* Enhanced Cost Display */
.wdm-wcc-cost-range {
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 15px;
    margin: 10px 0;
}

.wdm-wcc-cost-range h5 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.wdm-wcc-cost-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.wdm-wcc-cost-item {
    background: white;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #28a745;
    text-align: center;
}

.wdm-wcc-cost-item.optional {
    border-left-color: #ffc107;
}

.wdm-wcc-cost-item h6 {
    margin: 0 0 5px 0;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
}

.wdm-wcc-cost-item .amount {
    font-size: 18px;
    font-weight: bold;
    color: #007cba;
}

@media (max-width: 768px) {
    .wdm-wcc-themes, .wdm-wcc-plugins, .wdm-wcc-requirements {
        grid-template-columns: 1fr;
    }
    
    .wdm-wcc-timeline-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .wdm-wcc-timeline-week {
        align-self: flex-start;
    }
    
    .wdm-wcc-tooltip .wdm-wcc-tooltiptext {
        width: 250px;
        margin-left: -125px;
    }
    
    .wdm-wcc-summary-grid {
        grid-template-columns: 1fr;
    }
    
    .wdm-wcc-tools-list {
        grid-template-columns: 1fr;
    }
}

/* Smart Questions Styles */
.wdm-wcc-smart-questions {
    background: #f8f9fa;
    border: 2px solid #007cba;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Full width when only one question type is visible */
.wdm-wcc-smart-questions.full-width {
    width: 100%;
}

.wdm-wcc-original-questions.full-width {
    width: 100%;
}

.wdm-wcc-smart-questions h4 {
    color: #007cba;
    margin: 0 0 10px 0;
    font-size: 18px;
}

.wdm-wcc-smart-questions p {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

.wdm-wcc-smart-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}

/* Single column layout when only one question type is visible */
.wdm-wcc-smart-options.single-column {
    grid-template-columns: 1fr;
}

.wdm-wcc-options.single-column {
    grid-template-columns: 1fr;
}

/* Single column layout when questions are hidden in step 3 */
.wdm-wcc-step-new-store-scale .wdm-wcc-options.single-column {
    grid-template-columns: 1fr;
}

/* When scale question is hidden, make other questions use full width */
.wdm-wcc-step-new-store-scale:has(.wdm-wcc-options[style*="display: none"]) .wdm-wcc-radio-group {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Single column layout for radio groups */
.wdm-wcc-radio-group.single-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.wdm-wcc-radio-group.single-column label {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wdm-wcc-radio-group.single-column label:hover {
    border-color: #007cba;
    background: #f8f9fa;
}

.wdm-wcc-radio-group.single-column input[type="radio"]:checked + * {
    color: #007cba;
    font-weight: bold;
}

.wdm-wcc-smart-option {
    background: #fff;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.wdm-wcc-smart-option:hover {
    border-color: #007cba;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

.wdm-wcc-smart-option.selected {
    border-color: #007cba;
    background: #e8f4fd;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.2);
}

.wdm-wcc-smart-option h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 16px;
}

.wdm-wcc-smart-option p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.wdm-wcc-override-option {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 6px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
}

.wdm-wcc-override-option:hover {
    border-color: #e0a800;
    background: #fff8e1;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.wdm-wcc-override-option h4 {
    margin: 0 0 8px 0;
    color: #856404;
    font-size: 16px;
}

.wdm-wcc-override-option p {
    margin: 0;
    color: #856404;
    font-size: 14px;
}

.wdm-wcc-original-questions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
}

.wdm-wcc-original-questions h4 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 18px;
}

/* AI Path Questions Styles */
.wdm-wcc-step-ai-questions {
    max-width: 800px;
    margin: 0 auto;
}

.wdm-wcc-pre-answered-info {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.wdm-wcc-pre-answered-info h4 {
    margin: 0 0 15px 0;
    color: #2e7d32;
    font-size: 16px;
}

.wdm-wcc-pre-answered-info ul {
    margin: 0;
    padding-left: 20px;
}

.wdm-wcc-pre-answered-info li {
    margin-bottom: 8px;
    color: #333;
}

.wdm-wcc-ai-question {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wdm-wcc-ai-question h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.wdm-wcc-ai-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.wdm-wcc-ai-option {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wdm-wcc-ai-option:hover {
    border-color: #007cba;
    background: #f0f8ff;
}

.wdm-wcc-ai-option input[type="radio"],
.wdm-wcc-ai-option input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.wdm-wcc-ai-option input[type="radio"]:checked + .option-content,
.wdm-wcc-ai-option input[type="checkbox"]:checked + .option-content {
    color: #007cba;
    font-weight: 600;
}

.wdm-wcc-ai-option.checked {
    border-color: #007cba;
    background: #e8f4fd;
}

.option-content {
    flex: 1;
}

.option-content strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.option-content small {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .wdm-wcc-smart-options {
        grid-template-columns: 1fr;
    }
    
    .wdm-wcc-smart-option {
        padding: 12px;
    }
    
    .wdm-wcc-ai-options {
        grid-template-columns: 1fr;
    }
    
    .wdm-wcc-ai-option {
        padding: 12px;
    }
}

/* Tool Type Badges */
.tool-type-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 8px;
}

.tool-type-badge.theme {
    background: #e3f2fd;
    color: #1976d2;
}

.tool-type-badge.plugin {
    background: #f3e5f5;
    color: #7b1fa2;
}

.tool-type-badge.hosting {
    background: #e8f5e8;
    color: #388e3c;
}

.tool-type-badge.domain {
    background: #fff3e0;
    color: #f57c00;
}

.tool-type-badge.ssl {
    background: #fce4ec;
    color: #c2185b;
}

.tool-type-badge.service {
    background: #e0f2f1;
    color: #00695c;
}

.tool-type-badge.other {
    background: #f5f5f5;
    color: #616161;
}

/* Tool Header Styling */
.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tool-header h5 {
    margin: 0;
    color: #1d2327;
    font-size: 16px;
}

/* WooCommerce Detected Message Styles */
.wdm-wcc-detected-features {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
}

.wdm-wcc-detected-features h5 {
    margin: 0 0 10px 0;
    color: #007cba;
    font-size: 16px;
}

.wdm-wcc-detected-features ul {
    margin: 0;
    padding-left: 20px;
}

.wdm-wcc-detected-features li {
    margin-bottom: 5px;
    color: #666;
}

.wdm-wcc-countdown-bar {
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    margin-top: 15px;
    overflow: hidden;
}

.wdm-wcc-countdown-progress {
    height: 100%;
    background: linear-gradient(90deg, #007cba, #00a32a);
    width: 0%;
    transition: width 1s linear;
    border-radius: 2px;
}

.wdm-wcc-analysis-result.success h4 {
    color: #00a32a;
    margin-bottom: 15px;
}

.wdm-wcc-analysis-result.success p {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* User Input Section Styles */
.wdm-wcc-user-input {
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.wdm-wcc-input-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
}

.wdm-wcc-input-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.wdm-wcc-input-item label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.wdm-wcc-input-item span {
    color: #666;
    line-height: 1.5;
}

.wdm-wcc-debug-info {
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
    font-family: monospace;
    font-size: 12px;
}

.wdm-wcc-debug-info pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}