.fertility-calculator {
    max-width: 500px;
    margin: 0 auto;
    padding: 50px;
    background: #F8F6FA;
    border-radius: 20px;
    min-width: max-content;
    
}

.calculator-tabs {
    display: flex;
    margin-bottom: 40px;
    border-bottom: 2px solid #ddd;
}

.b-tab-button {
    flex: 1;
    padding: 15px;
    padding-top: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 20px;
    color: #6D6E70;
}

.b-tab-button.active {
    color: #4A2159;
    border-bottom: 2px solid #4A2159;
    margin-bottom: -2px;
}

.b-tab-content {
    display: none;
}

.b-tab-content.active {
    display: block;
}

.input-group {
    margin-bottom: 30px;
}

.input-group label {
    display: block;
    margin-bottom: 15px;
    color: #6D6E70;
    font-weight: 500;
    font-size: 16px;
}

.input-group.first {
    margin-top: 22px;
}

.input-group input {
    width: 100% !important;
    padding: 12px 20px !important;
    border: 1px solid #E7E8F1 !important;
    border-radius: 5px !important;
    color: #6D6E70 !important;
    font-size: 16px !important;
    box-shadow: 0px 1px 5px rgba(231, 232, 241, 0.1) !important;
    outline: unset !important;
    height: auto !important;
    line-height: normal !important;
    font-weight: 500 !important;
}

/* Style for the calendar icon */
.input-group input[type="date"] {
    position: relative;
    cursor: pointer;
}

.input-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(45%) sepia(9%) saturate(288%) hue-rotate(182deg) brightness(94%) contrast(87%);
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
}

.calculate-button {
    background: #7653A3;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 30px;
}

.calculate-button:hover {
    background: #4A2159;
}

.result {
    color: #6D6E70;
    font-size: 16px;
    font-weight: 500;
 
}

.result span {
    color: #000000;
    font-weight: 700;
    font-size: 16px;
}

/* Add these new styles */
.input-wrapper {
    position: relative;
    width: 100%;
}

.calendar-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
} 

.result.hidden {
    display: none;
}