/* Bike Insurance Specific Styles */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-top: 1.5rem;
}

.calculator {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
}

.calculator h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--darker);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.calculator h3 i {
    margin-right: 10px;
    color: var(--primary);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.calculator label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.calculator input,
.calculator select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.calculator input:focus,
.calculator select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.range-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.range-container input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-light);
    outline: none;
    -webkit-appearance: none;
}

.range-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
}

.range-value {
    min-width: 60px;
    font-weight: 600;
    color: var(--primary);
}

/* Button Styles */
.calculator button {
    margin-top: 1rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.calculator button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

.calculator button:active {
    transform: translateY(0);
}

/* Results Panel */
.results-panel {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.results-panel h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--darker);
    display: flex;
    align-items: center;
}

.results-panel h3 i {
    margin-right: 10px;
    color: var(--success);
}

.result-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.3rem;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.result-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.result-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.result-details i {
    width: 20px;
    color: var(--primary);
}

/* Risk Factors */
.risk-factors {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.risk-factors h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--darker);
    display: flex;
    align-items: center;
}

.risk-factors h4 i {
    margin-right: 8px;
    color: var(--warning);
}

.risk-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    background: var(--light);
    font-size: 0.9rem;
}

.risk-high {
    color: var(--danger);
    font-weight: 600;
    background: #fee2e2;
    padding: 2px 8px;
    border-radius: 4px;
}

.risk-medium {
    color: var(--warning);
    font-weight: 600;
    background: #fef3c7;
    padding: 2px 8px;
    border-radius: 4px;
}

.risk-low {
    color: var(--success);
    font-weight: 600;
    background: #d1fae5;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Savings Tips */
.savings-tips {
    margin-top: 2rem;
    background: var(--primary-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
}

.savings-tips h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--darker);
    display: flex;
    align-items: center;
}

.savings-tips h4 i {
    margin-right: 8px;
    color: var(--primary);
}

.savings-tips ul {
    padding-left: 1.5rem;
}

.savings-tips li {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.9rem;
}

/* Disclaimer */
.disclaimer-box {
    background: #fff7ed;
    border-left: 4px solid var(--warning);
    padding: 1rem 1.2rem;
    margin-top: 2rem;
    border-radius: 4px;
}

.disclaimer-box h4 {
    color: var(--warning);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.disclaimer-box h4 i {
    margin-right: 8px;
}

.disclaimer-box p {
    font-size: 0.9rem;
    color: #92400e;
}

/* Responsive for Calculator */
@media (max-width: 992px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .results-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .calculator {
        padding: 1.5rem;
    }
    
    .results-panel {
        padding: 1.5rem;
    }
}
/* Input with hint styles */
.input-with-hint {
    position: relative;
}

.input-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--gray);
    font-style: italic;
}
/* Result Placeholder */
.result-placeholder {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--light);
    border-radius: var(--border-radius);
    border: 2px dashed var(--gray-light);
}

.placeholder-icon {
    font-size: 3rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
}

.result-placeholder p {
    color: var(--gray);
    font-size: 1rem;
}

/* Result Content */
.result-content {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}