@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

.bmi-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: auto;
    padding: 20px;
    font-family: "DM Sans", "Roboto", sans-serif !important;
}

.left-section, .right-section {
    padding: 20px;
    border-radius: 10px;
}

.kickbmisec {
    display: flex;
    flex-direction: column;
    background-color: rgb(57, 46, 37);
    padding: 1.875rem;
    border-radius: 2rem;
    border: 4px solid rgb(255, 198, 113);
    align-items: center;
}

.kickchart {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    max-width: 30rem;
    height: auto;
}

.kickchart svg {
    width: 100% !important;
}

.kickchartinfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bmi-tablestyle {
    margin-top: 2.625rem;
    width: 100%;
}

.fepvCa {
    display: flex;
    align-items: center;
    font-weight: 400;
    border: none;
    white-space: nowrap;
    flex: 1 1 0%;
    min-width: 10rem;
    background-color: transparent;
    color: #fff;
}

.kriOiy {
    justify-content: left;
    opacity: 1;
    border-radius: 0.75rem 0px 0px 0.75rem;
    padding: 1rem 0rem 1rem 1rem;
}

.bmi_tablist {
    display: flex;
    flex-direction: column;
}

.jugfMb {
    display: flex;
    align-items: center;
    border-radius: 0px;
    color: rgb(255, 255, 255);
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.bOKuMq {
    height: 1.375rem;
    width: 1.375rem;
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
    margin-top: 0.625rem;
    justify-content: center;
    visibility: hidden;
}

.fyMOtQ {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-radius: 50%;
}

.iAPytI {
    display: flex;
    align-items: center;
    border-radius: 0.75rem;
    color: rgb(57, 46, 37);
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.jgWfKm {
    height: 1.375rem;
    width: 1.375rem;
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
    margin-top: 0.625rem;
    justify-content: center;
    visibility: visible;
}

.gIrVQd {
    display: flex;
    align-items: center;
    font-weight: 400;
    border: none;
    white-space: nowrap;
    flex: 1 1 0%;
    min-width: 10rem;
    background-color: rgb(198, 173, 134);
    color: #fff;
}

.uLuKr {
    border-radius: 0.75rem 0px 0px 0.75rem;
    justify-content: left;
    padding: 1rem 0rem 1rem 1rem;
    font-weight: 600;
    opacity: 1;
}

.jUiBZl {
    border-radius: 0px 0.75rem 0.75rem 0px;
    justify-content: right;
    padding: 1rem 1rem 1rem 0rem;
    margin-right: calc(1.875rem);
    font-weight: 600;
    opacity: 1;
}

.cgkebM {
    width: 100%;
    height: 100%;
    background-color: rgb(255, 168, 0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cgkebM svg {
    width: 14px;
    height: 14px;
    stroke: white;
}

.bmi-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.bmi-form label {
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
    font-weight: bold;
}

.input-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 10px;
}

.bmi-form input {
    padding: 12px;
    /* REMOVED !important from border-radius to allow Elementor control */
    border-radius: 4px; 
    border: 1px solid #ddd;
    width: 48% !important;
    box-sizing: border-box;
    font-size: 14px;
}

.bmi-form input#weight, .bmi-form input.weight-input {
    width: 100% !important;
}

.bmi-form button {
    width: 100%;
    padding: 15px;
    /* Default color, overridden by Elementor if set */
    background-color: rgb(57, 46, 37); 
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-top: 20px;
    /* Added relative position to ensure z-index works if needed */
    position: relative;
    z-index: 1;
}

.bmi-form button:hover {
    background-color: rgb(255, 198, 113);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.copyrtxt a {
    font-size: 12px;
    color: brown;
    text-decoration: none;
}

.copyrtxt {
    text-align: center;
    margin-top: 20px;
}

.bmititle {
    margin-bottom: 20px;
}

.bmititle p {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.4em;
}

.bmititle h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

.kickbmisec svg path,
.kickbmisec svg text {
    fill: #fff;
}
#bmiValue,
.bMLySX {
    fill: #fff !important;
}

@media (max-width: 768px) {
    .bmi-container {
        grid-template-columns: 1fr;
        gap: 0;
        display: block !important;
    }
    
    .left-section, .right-section {
        padding: 0px;
    }
    
    .bmi-form {
        margin: 0;
    }
}