.calculator-container {
   max-width: 800px;
   margin: 2rem auto;
   padding: 2rem;
   background: #fff;
   border-radius: 8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tabs {
   display: flex;
   gap: 1rem;
   margin-bottom: 2rem;
}

.tab {
   padding: 0.5rem 1rem;
   border: 1px solid #ddd;
   border-radius: 4px;
   background: #f8f8f8;
   cursor: pointer;
}

.tab.active {
   background: #2563eb;
   color: white;
   border-color: #2563eb;
}

.input-section {
   margin-bottom: 2rem;
}

.input-group {
   margin-bottom: 1rem;
}

.input-group label {
   display: block;
   margin-bottom: 0.5rem;
   font-weight: 500;
}

.input-group input {
   width: 100%;
   padding: 0.5rem;
   border: 1px solid #ddd;
   border-radius: 4px;
}

.results-section {
   background: #f8fafc;
   padding: 1.5rem;
   border-radius: 6px;
   margin-bottom: 1rem;
}

.results-section h3 {
   margin-bottom: 1rem;
   color: #1e3a8a;
}

.result-item {
   margin: 0.5rem 0;
   display: flex;
   justify-content: space-between;
}

.savings {
   color: #22c55e;
   font-weight: bold;
}

.total {
   margin-top: 1rem;
   padding-top: 1rem;
   border-top: 1px solid #ddd;
   font-weight: bold;
}
.info-icon-container {
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
    cursor: pointer;
}

.info-icon {
    color: #2563eb;
    font-size: 0.9em;
}

.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem;
    background: #333;
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    width: max-content;
    max-width: 200px;
    margin-bottom: 0.5rem;
    z-index: 10;
    text-align: center;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}