/* =============================
   GLOBAL CALCULATOR LAYOUT
   ============================= */

.mc-wrap {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    background: #fafafa;
    padding: 25px;
    border-radius: 10px;
}
#mc-app h3 {
    font-size: 19px;
    color: #051c4a !important;
}

.mc-left, .mc-right {
    flex: 1;
}


/* =============================
   TABS
   ============================= */

.mc-tabs button {
    padding: 10px 18px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 6px;
}

.mc-tabs button.active {
    background: #5a3dff;
    color: #fff;
    border-color: #5a3dff;
}


/* =============================
   INPUTS & BUTTONS
   ============================= */

.mc-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.mc-submit {
    background: #ef3f3f;
    color: #fff;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


/* =============================
   RESULT SECTION
   ============================= */

.mc-result-top {
    text-align: center;
    margin-bottom: 30px;
}

.mc-result-top h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #2f2a7e !important;
}

.mc-result-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.mc-result-col {
    text-align: center;
}

.mc-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
	text-transform:capitalize;
}

.mc-value {
    font-size: 34px;
    font-weight: 700;
    color: #2f2a7e;
}


/* =============================
   RESPONSIVE FIXES
   ============================= */

/* Tablet + Mobile */
@media (max-width: 1024px) {

    .mc-wrap {
        display: block !important;
        padding: 20px !important;
    }

    .mc-left,
    .mc-right {
        width: 100% !important;
    }

    .mc-result-row {
        flex-direction: column;
        gap: 25px;
    }

    .mc-value {
        font-size: 28px;
    }
}

/* Mobile: compress fonts + spacing */
@media (max-width: 768px) {

    .mc-result-top h2 {
        font-size: 22px !important;
        margin-bottom: 20px !important;
		line-height:32px !important;
    }

    .mc-label {
        font-size: 13px;
    }

    .mc-tabs {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mc-tabs button {
        width: 100%;
        font-size: 15px;
        padding: 12px;
    }
}

/* Small mobile (iPhones SE, etc) */
@media (max-width: 480px) {

    .mc-wrap {
        padding: 15px !important;
    }

    .mc-result-top h2 {
        font-size: 20px !important;
    }

    .mc-value {
        font-size: 24px !important;
    }

    .mc-tabs button {
        width: 100%;
        padding: 14px;
        font-size: 14px;
    }
}


/* =========================================
   FIX ELEMENTOR OVERRIDING FLEX LAYOUT
   ========================================= */

.elementor-widget .mc-wrap,
.elementor .mc-wrap {
    width: 100% !important;
}

@media (max-width: 1024px) {
    .elementor-widget .mc-wrap,
    .elementor .mc-wrap {
        display: block !important;
    }
}
