

        /* --- LAYOUT --- */

        .container { max-width: 1100px; margin: 40px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 320px; gap: 40px; margin-top: 80px !important;}
        .mp-20{margin-top: 20px;}

        /* --- CALCULATOR CARD --- */

        .tool-card { background: var(--white); border-radius: 28px; border: 1px solid var(--border); padding: 45px; box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05); position: relative; overflow: hidden; }

        .tool-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: var(--primary); }

        .tool-header h1 { font-size: 2.5rem; letter-spacing: -1.5px; margin-bottom: 10px; color: var(--accent); }

        

        .input-area { margin: 35px 0; }

        .input-box { display: flex; align-items: center; background: #f1f5f9; border-radius: 16px; padding: 15px 25px; border: 2px solid transparent; transition: 0.3s;position: relative; }

        .input-box:focus-within { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1); }

        .input-box input { border: none; background: none; width: 100%; outline: none; font-size: 2rem; font-weight: 800; color: var(--text-main); }

        #voiceBtn{left: 0px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #007bff;position: absolute;}

/* Tooltip text display on hover */
#voiceBtn:hover::after {content: "Use Voice Input";position: absolute; bottom: 120%; left: 50%;transform: translateX(-50%); background: #333; color: #fff;
    padding: 5px 10px; border-radius: 4px; font-size: 11px; white-space: nowrap; z-index: 10;}

                        .txt-right{text-align:right;}
                    .current-row{background-color: var(--primary-light, #f0f7ff); font-weight: bold;}
                    .active-link{color: var(--primary); cursor: default;}

                  


        .res-box { background: var(--primary-soft); padding: 25px; border-radius: 20px; border: 1px solid var(--border); transition: 0.2s; }

        .res-box:hover { transform: translateY(-3px); border-color: var(--primary); }

        .res-label { font-size: 11px; font-weight: 800; color: var(--primary); text-transform: uppercase; display: block; margin-bottom: 8px; letter-spacing: 1px; }

        .res-val { font-size: 1.6rem; font-weight: 800; color: var(--accent); }



        .tool-card label{font-weight: 700; font-size: 15px; margin-bottom: 12px; display: block; color: var(--text-muted);}

        .input-box span{font-weight: 800; color: var(--text-muted); font-size: 1.2rem;}

        .result-grid{display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 30px;}



        .bg-color{background: #f0f7ff;border: 1px solid #dbeafe;}

        .tx-color{color: #2563eb;}

        .val-color{font-size: 1.1rem; font-weight: 700; color: #1e40af; word-break: break-all;}



        /* --- FORMULA BLOCK --- */

        .formula-card { background: var(--accent); color: white; padding: 35px; border-radius: 24px; margin-top: 50px; }

        .formula-card h2 { color: #60a5fa; margin-bottom: 20px; font-size: 1.5rem; }

        .math-box { background: rgba(255,255,255,0.1); padding: 20px; border-radius: 12px; font-family: 'Courier New', Courier, monospace; font-size: 1.2rem; margin: 15px 0; border-left: 4px solid var(--primary); }



        /* --- CONTENT SECTIONS --- */

        .content-section { margin-top: 40px; }

        .content-section h2 { font-size: 2rem; margin-bottom: 25px; color: var(--accent); letter-spacing: -0.5px; }

        .content-section p { margin-bottom: 20px; font-size: 1.1rem; color: var(--text-main); }

          .conversion-section { width: 100%; border-collapse: separate; border-spacing: 0; background: white; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); margin: 30px 0; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);padding:20px }
    .conversion-section h2{font-size: 1.3rem}
    .conversion-section p{font-size: 1.5rem; text-align: center; font-weight: bold;color: var(--primary);margin-top: 20px;}

        .step-guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin: 40px 0; }

        .step { background: white; padding: 30px; border-radius: 20px; border: 1px solid var(--border); }

        .step-num { width: 40px; height: 40px; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: bold; margin-bottom: 15px; }



        /*quick tips*/

        .quick-tip{background: #f1f5f9; padding: 20px; border-radius: 12px; margin-top: 35px; border-left: 5px solid var(--primary);}

        .p-style{margin: 0; font-size: 1.5rem;margin-bottom: 10px;}



        /* TABLE STYLING */

        .data-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); }

        .data-table th, .data-table td { padding: 18px 25px;  border-bottom: 1px solid var(--border); }

        .data-table th { background: #f8fafc; font-weight: 800; font-size: 14px; text-transform: uppercase; color: var(--text-muted); }

        .data-table tr:last-child td { border-bottom: none; }



        /* SIDEBAR widgets */

          /* --- SIDEBAR --- */

        .sidebar { position: sticky; top: 90px; height: fit-content; }

        .sidebar-widget, .sidebar-pro{ background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 25px; margin-bottom: 30px; }

        .widget-title { font-size: 1rem; font-weight: 800; margin-bottom: 20px; color: #0f172a; display: flex; align-items: center; gap: 10px; }

        .widget-title::after { content: ""; flex: 1; height: 2px; background: var(--primary-soft); }

        .pro-widget{background: linear-gradient(to bottom right, #2563eb, #1d4ed8); color: white; border: none;}

         .side-link { display: flex; justify-content: space-between; text-decoration: none; color: var(--text-main); font-size: 14px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; transition: 0.2s; }

        .side-link:hover { color: var(--primary); transform: translateX(5px); }

        .side-link span { color: var(--text-muted); font-size: 12px; }




        .privacy-color{background: var(--primary-soft);}

        /*.widget span{ font-size: 16px; margin-bottom: 20px; color: var(--accent);font-weight: bold}*/

        .widget p {font-size: 13px; opacity: 0.9; line-height: 1.6; }





        @media (max-width: 900px) {

            .container { grid-template-columns: 1fr; }

            .sidebar { order: 2; }

            .tool-header h1 { font-size: 2rem; }

        }



        .breadcrumb { padding: 0 0 15px 0; margin-bottom: 10px; font-size: 14px; color: var(--text-muted); }

        .breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 500; }

        .breadcrumb span { margin: 0 8px; opacity: 0.5; }

        .breadcrumb .active { color: #000; font-weight: 600; }

        /* --- EXTENSION PROMO --- */

.extension-banner {

    background: linear-gradient(135deg, #2563eb, #7c3aed);

    color: white;

    padding: 30px;

    border-radius: 24px;

    margin-top: 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}

.ext-content h3 { font-size: 1.4rem; margin-bottom: 5px; }

.ext-btn { 

    background: white; color: #2563eb; 

    padding: 12px 24px; border-radius: 12px; 

    text-decoration: none; font-weight: 700; 

    transition: 0.3s; white-space: nowrap;

}

.ext-btn:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }



/* --- EMBED WIDGET BOX --- */

.embed-section {

    background: #f1f5f9;

    padding: 30px;

    border-radius: 24px;

    margin-top: 40px;

    border: 2px dashed #cbd5e1;

}

.embed-box{margin-top: 20px; padding: 15px; border: 1px dashed #ccc;}
.embed-box textarea{width:100%; height:80px; padding:10px;}
.embed-box p{font-size:12px; color:#666;}

.code-snippet {

    background: #1e293b;

    color: #38bdf8;

    padding: 15px;

    border-radius: 12px;

    font-family: 'Courier New', monospace;

    font-size: 13px;

    position: relative;

    margin-top: 15px;

    overflow-x: auto;

}

.copy-btn {

    position: absolute;

    top: 10px;

    right: 10px;

    background: rgba(255,255,255,0.1);

    border: none;

    color: white;

    padding: 5px 10px;

    border-radius: 6px;

    cursor: pointer;

    font-size: 11px;

}





/* Table Link Style */

.weight-link {

    font-weight: 700;

    color: var(--accent);

    text-decoration: none;

    font-size: 1.1rem;

    transition: 0.2s;

}



.weight-link:hover {

    color: var(--primary);

}



/* Single Action Button */

.action-btn {

    display: inline-block;

    background: var(--primary-soft);

    color: var(--primary);

    padding: 8px 20px;

    border-radius: 12px;

    text-decoration: none;

    font-weight: 800;

    font-size: 13px;

    transition: 0.3s;

    border: 1px solid transparent;

}



.data-table tr:hover .action-btn {

    background: var(--primary);

    color: white;

    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);

}



.data-table tr {

    transition: 0.2s;

}



.data-table tr:hover {

    background: #fcfdfe;

}


.swap-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.swap-link {
    display: flex;
    align-items: center;
    gap: 10px; /* Icon aur text ke beech ka fasla */
    padding: 10px 20px;
    background: #ffffff;
    border: 1.5px solid #e0e0e0;
    border-radius: 30px;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.swap-link:hover {
    background: #f0f7ff;
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.15);
}

.swap-icon-svg {
    transition: transform 0.4s ease;
}

.swap-link:hover .swap-icon-svg {
    transform: rotate(180deg);
}

.share-container { margin: 20px 0; font-family: sans-serif; }
        .share-icons { display: block; } /* Flex hataya gaya */
        
        .share-icons a, .cite-trigger {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            margin-right: 10px;
            margin-bottom: 10px;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            border: none;
            cursor: pointer;
            vertical-align: middle;
        }

        .cite-trigger { 
            width: auto; 
            border-radius: 20px; 
            padding: 0 15px; 
            background: #f0f2f5; 
            color: #333; 
            font-size: 14px;
            font-weight: bold;
        }

        .share-icons svg { width: 20px; height: 20px; fill: white; }
        .cite-trigger svg { fill: #555; margin-right: 5px; }

        /* Brand Colors */
        .btn-whatsapp { background-color: #25D366; }
        .btn-facebook { background-color: #1877F2; }
        .btn-twitter  { background-color: #000; }
        .btn-linkedin { background-color: #0077B5; }
        .btn-telegram { background-color: #0088CC; }
        .btn-pinterest { background-color: #E60023; }
        .btn-reddit   { background-color: #FF4500; }

        /* Modal Styles */
        .modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
        .modal-content { background: white; margin: 15% auto; padding: 25px; width: 90%; max-width: 500px; border-radius: 12px; position: relative; text-align: center; }
        .close-btn { position: absolute; right: 15px; top: 10px; font-size: 24px; cursor: pointer; color: #999; }
        .citation-box { background: #f8f9fa; border: 1px dashed #0077B5; padding: 15px; margin: 20px 0; text-align: left; font-size: 14px; color: #333; line-height: 1.5; }
        .copy-btn { background: #0077B5; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-weight: bold; }

            .custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 5px;
    outline: none;
    margin: 15px 0;
}
.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.slider-labels{display: flex; justify-content: space-between; font-size: 11px; color: #888; margin-top: 5px;}

.custom-generator-box{background: #ffffff; padding: 20px; border-radius: 8px; margin-bottom: 25px; border: 1px solid #ddd;}
 .pdf-input-box{display: flex; gap: 15px; align-items: flex-end; flex-wrap: wrap;}
            .pdf-input{flex: 1; min-width: 150px;}
            .pdf-input label{display:block; margin-bottom:5px; font-size:14px;}
            .pdf-input input{width:100%; padding:8px;}
            .pdf-input-box button{background: var(--primary); color:white; border:none; height:40px; cursor:pointer;padding:0px 20px;}
            #error-msg{color:red; font-size:12px; margin-top:10px; display:none;}

            .txt-right{text-align:right;}
                                .txt-left{text-align: left;}
                    .current-row{background-color: var(--primary-light, #f0f7ff); font-weight: bold;}
                    .active-link{color: var(--primary); cursor: default;}
                    .action-btn{padding:5px 20px;}

#citationText a{display: initial;}
.share-buttons{margin-top: 20px;}

               /* FAQ Section Styles */
.faqs .faq-container {
    border-top: 1px solid var(--border, #eee);
}

.faqsdiv {
    padding: 25px 0;
    border-bottom: 1px solid var(--border, #eee);
}

.faqsdiv:last-child {
    border-bottom: none; /* Aakhiri item ka border hatane ke liye */
}

.question {
    display: block;
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: var(--text-dark, #333);
    line-height: 1.4;
}

.faqsdiv p {
    margin: 0;
    color: var(--text-muted, #666);
    line-height: 1.6;
}