.btk-master-wrapper {
    font-family: inherit;
    text-align: center;
}

.btk-front-ui {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 0 auto;
}

.btk-toggle-container {
    margin-bottom: 25px;
}
.btk-toggle-switch {
    display: inline-flex;
    background: #e9ecef;
    border-radius: 30px;
    padding: 5px;
}
.btk-toggle-option {
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
}
.btk-toggle-option.active {
    background: #fff;
    color: #0073aa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btk-middle-area {
    margin-bottom: 15px;
}
.btk-middle-title {
    margin: 0 0 10px;
    font-size: 22px;
    color: #333;
}
.btk-middle-desc {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.btk-calc-trigger-wrap {
    margin-bottom: 25px;
}

/* Flexbox Update for Icon Alignment */
.btk-calc-trigger-btn {
    background: #e0e0e0;
    color: #333;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btk-calc-trigger-btn:hover {
    opacity: 0.85;
}

/* Icon Wrapper Styles */
.btk-btn-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}
.btk-btn-icon-wrap i {
    font-size: 20px; /* Default size jate font icon show kore */
    color: inherit;
}
.btk-btn-icon-wrap svg {
    width: 20px; /* Default width jate svg icon show kore */
    height: auto;
    fill: currentColor;
}


.btk-action-container {
    min-height: 50px; 
}
.btk-action-btn {
    display: inline-block;
    background: #0073aa;
    color: #ffffff;
    padding: 14px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.btk-action-btn:hover {
    opacity: 0.9;
}

.btk-modal-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(3px);
}

.btk-modal-box {
    background-color: #fff;
    margin: 8vh auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: left;
}
.btk-modal-close {
    color: #888;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}
.btk-modal-close:hover { color: #d9534f; }

.btk-modal-header h2 { margin-top: 0; color: #333; }
.btk-modal-header p { color: #666; font-size: 14px; margin-bottom: 20px;}
.btk-main-form label { display: block; margin: 15px 0 8px; font-weight: 600; color: #444;}
.btk-input-group { display: flex; gap: 15px; }
.btk-main-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}
.btk-form-submit-btn {
    width: 100%;
    background: #0073aa;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 25px;
    transition: 0.3s;
}
.btk-form-submit-btn:hover { opacity: 0.9; }

.btk-result-wrap { text-align: center; padding: 20px 0; }
.btk-result-title { font-size: 26px; color: #333; margin-bottom: 15px;}
.btk-final-score { color: #28a745; font-weight: bold; font-size: 34px;}
.btk-result-msg { font-size: 16px; color: #555; margin-bottom: 25px; line-height: 1.5; }
.btk-dynamic-popup-btn {
    display: inline-block;
}

@media (max-width: 600px) {
    .btk-front-ui {
        padding: 30px 15px;
    }
    .btk-modal-box {
        padding: 30px 20px;
    }
    .btk-toggle-option {
        padding: 10px 15px;
        font-size: 14px;
    }
}
/* === FIX: Prevent body scroll when modal is open === */
body.btk-modal-open {
    overflow: hidden;
}

/* === Background Image Overlay Support === */
.btk-master-wrapper.btk-has-bg-image .btk-front-ui {
    position: relative;
    overflow: hidden;
}
.btk-front-ui-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}
.btk-has-bg-image .btk-front-ui > *:not(.btk-front-ui-overlay) {
    position: relative;
    z-index: 1;
}
