#cta-calculator {
    font-family: 'Arial', sans-serif;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
    border: 1px solid #000;
    border-radius: 4px;
    background-color: #F4F4F6; /* Light gray background */
    box-sizing: border-box;
}

#cta-calculator h2 {
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    padding-top: 20px;
    margin-bottom: 20px;
}

#cta-calculator input[type='number'],
#cta-calculator select {
    width: 100%; /* Full width */
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #fff; /* Keep input background white */
}

#cta-calculator button.calculate-button {
    background-color: #333 !important; /* Pink color */
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 4px;
    cursor: pointer;
    width: 100%; /* Full width */
}

#cta-calculator button.calculate-button:hover {
    background-color: #000 !important; /* Darker shade of pink */
}

#cta-calculator div[id$="Result"] {
    display: none;
    padding: 10px;
    background-color: #E0E0E0; /* Slightly darker gray for results */
    border: 1px solid #000;
    border-radius: 4px;
    margin-top: 10px;
    font-weight: bold;
}

#toggleView {
    background-color: #F4F4F6; /* Updated background color */
    color: #000; /* Keep the text color for contrast */
    border: none;
    padding: 10px 20px;
    margin: 20px 0;
    border-radius: 4px;
    cursor: pointer;
    width: 100%; /* Full width */
}

#toggleView:hover {
    background-color: #e1e1e6; /* Slightly darker shade for hover */
}

#cta-calculator button.swapBtn.active {
    background-color: #000000; /* Pink color for active state */
    color: white; /* White text for active state */
}

#cta-calculator button.swapBtn {
    background-color: #F4F4F6; /* Light gray background */
    color: #000;
    border: 1px solid #000;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    flex: 1;
    text-align: center;
}

#cta-calculator button.swapBtn:hover {
    background-color: #000000; /* Slightly darker pink for hover */
    color: white; /* White text for hover */
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    #cta-calculator {
        padding: 10px;
    }

    #cta-calculator button.calculate-button,
    #cta-calculator button.swapBtn,
    #toggleView {
        width: 100%; /* Full width for buttons */
    }

    #cta-calculator button.swapBtn {
        width: 100%; /* Full width for swap buttons on smaller screens */
        margin: 5px 0; /* Adjust margin for smaller screens */
    }
}

@media (max-width: 480px) {
    #cta-calculator {
        padding: 5px;
    }

    #cta-calculator h2 {
        font-size: 18px; /* Adjust font size for smaller screens */
    }

    #cta-calculator input[type='number'],
    #cta-calculator select {
        font-size: 14px; /* Adjust font size for smaller screens */
    }
}