/* Dropdown Menu Styles */
.has-dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.8em;
    margin-left: 4px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-orange);
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        padding-left: 20px;
    }
    .has-dropdown.active .dropdown-menu {
        display: block;
    }
}

/* Calculator Styles */
.calculator-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.calculator-title {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(251, 175, 93, 0.2);
}

.calc-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 1rem;
}

.calc-btn:hover {
    background: var(--gradient-end);
    transform: translateY(-2px);
}

.result-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-orange);
    display: none;
}

.result-box.active {
    display: block;
}

.result-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.result-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.result-disclaimer {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.4;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Range Slider Styling */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e0e0e0;
    outline: none;
    margin: 10px 0;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-orange);
    cursor: pointer;
    transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider-val-display {
    float: right;
    font-weight: bold;
    color: var(--primary-orange);
}

/* Radio button groups */
.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input {
    margin-right: 8px;
    cursor: pointer;
}



/* Decision Tree for Litterbox */
.decision-step {
    display: none;
}

.decision-step.active {
    display: block;
}

.decision-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.decision-btn {
    padding: 12px;
    background: var(--bg-light);
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    transition: background 0.2s;
}

.decision-btn:hover {
    background: #f0f0f0;
    border-color: var(--primary-orange);
}
