/* Dental Implant Cost Calculator - Styles */

.dicc-wrapper {
    max-width: 640px;
    margin: 32px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.dicc-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef1f3;
    padding: 32px 28px;
}

.dicc-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.dicc-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.dicc-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Progress Stepper (layout differentiator vs. reference design) */
.dicc-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.dicc-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.dicc-progress-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.dicc-progress-step.active .dicc-progress-dot,
.dicc-progress-step.completed .dicc-progress-dot {
    background: #14b8a6;
    color: #ffffff;
}

.dicc-progress-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dicc-progress-step.active .dicc-progress-label {
    color: #14b8a6;
    font-weight: 600;
}

.dicc-progress-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin: 0 8px;
    max-width: 60px;
}

/* Form fields */
.dicc-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dicc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dicc-field label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dicc-tooltip {
    position: relative;
    color: #9ca3af;
    font-size: 13px;
    cursor: help;
    font-weight: 400;
}

.dicc-tooltip:hover::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 130%;
    left: 0;
    background: #1a1a1a;
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    width: 220px;
    line-height: 1.4;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dicc-field select,
.dicc-field input[type="number"] {
    padding: 11px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dicc-field select:focus,
.dicc-field input[type="number"]:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

/* Buttons */
.dicc-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.dicc-btn {
    flex: 1;
    padding: 13px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.05s ease;
}

.dicc-btn:active {
    transform: scale(0.98);
}

.dicc-btn-primary {
    background: #14b8a6;
    color: #ffffff;
}

.dicc-btn-primary:hover {
    opacity: 0.92;
}

.dicc-btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.dicc-btn-secondary:hover {
    background: #e5e7eb;
}

.dicc-btn-outline {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
    width: 100%;
    margin-top: 16px;
}

.dicc-btn-outline:hover {
    background: #f9fafb;
}

/* Result panel */
.dicc-result {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eef1f3;
    text-align: center;
}

.dicc-result-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.dicc-result-range {
    font-size: 32px;
    font-weight: 800;
    color: #0f766e;
    margin-bottom: 20px;
}

.dicc-result-dash {
    margin: 0 8px;
    color: #9ca3af;
    font-weight: 400;
}

.dicc-result-breakdown {
    background: #f8fafc;
    border-radius: 10px;
    padding: 16px 18px;
    text-align: left;
    margin-bottom: 16px;
}

.dicc-result-breakdown .dicc-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #374151;
    padding: 6px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.dicc-result-breakdown .dicc-line:last-child {
    border-bottom: none;
    font-weight: 700;
    color: #1a1a1a;
    padding-top: 10px;
}

.dicc-result-note {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.5;
    text-align: left;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 12px 14px;
}

/* Responsive */
@media (max-width: 480px) {
    .dicc-card {
        padding: 24px 18px;
    }
    .dicc-title {
        font-size: 20px;
    }
    .dicc-result-range {
        font-size: 26px;
    }
    .dicc-actions {
        flex-direction: column;
    }
}
