.vedagni-container{
    width:100%;
    max-width:100%;
    margin:0;
    padding:20px;
    box-sizing:border-box;
}

.vedagni-card{
    width:100%;
    max-width:100%;
    margin:0;
    padding:0;
    background:transparent;
    border:none;
    border-radius:0;
    box-shadow:none;
}

.vedagni-title{
    text-align:center;
   color:#1F3C88;
    font-size:48px;
    font-weight:700;
    margin-bottom:10px;
}

.vedagni-subtitle{
    text-align:center;
  color:#1F3C88;
    font-size:22px;
    font-weight:600;
}

.vedagni-divider{
    height:3px;
   background:#1F3C88;
    margin:25px 0;
}

.vedagni-section-title{
    color:#1F3C88;
    font-size:34px;
    margin-bottom:25px;
    font-weight:700;
}

.vedagni-category{
display:block;
width:100%;
clear:both;

font-size:32px;
font-weight:700;
color:#1F3C88;

border-left:6px solid #D6B36A;
padding-left:15px;

margin:35px 0 15px;
text-align:left;
line-height:1.3;
}

.vedagni-table{
    width:100%;
    border-collapse:collapse;
    margin-bottom:30px;
}

.vedagni-table th{
  background:#1F3C88;
    color:#fff;
    padding:12px;
    border:1px solid #ddd;
    text-align:left;
}

.vedagni-table td{
    padding:12px;
    border:1px solid #ddd;
}

.vedagni-input{
    width:100%;
    padding:10px;
    border:1px solid #ccc;
    border-radius:4px;
}

.vedagni-preview-btn{
   background:#1F3C88;
    color:#fff;
    border:none;
    padding:12px 25px;
    border-radius:4px;
    cursor:pointer;
}

.vedagni-pdf-btn{
background:#8B2D2D;
    color:#fff;
    border:none;
    padding:12px 25px;
    border-radius:4px;
    cursor:pointer;
}

.vedagni-footer{
    border-top:2px solid #D6B36A;
    margin-top:30px;
    padding-top:15px;
    display:flex;
    justify-content:space-between;
    font-size:14px;
    color:#666;
}


.vedagni-qty-box{
    display:flex;
    align-items:center;
    gap:8px;
}

.vedagni-qty-input{

    width:55px;
    height:38px;

    border:1px solid #ddd;
    border-radius:8px;

    text-align:center;

    font-size:16px;
    font-weight:600;

    outline:none;

}

.qty-minus,
.qty-plus{
    width:38px;
    height:38px;
    border:none;
    border-radius:50%;
  background:#D6B36A;
color:#8B2D2D;
    font-size:22px;
    font-weight:bold;
    cursor:pointer;
}
.vedagni-unit,
.vedagni-rate{

    width:100%;

    height:42px;

    padding:0 12px;

    font-size:15px;

    border:1px solid #ddd;

    border-radius:8px;

    background:#fff;

    box-sizing:border-box;

}

.vedagni-rate{

    text-align:right;

    font-weight:600;

}


/* ======================================
   CATEGORY NAVIGATION (DESKTOP)
====================================== */

.vedagni-category-nav{

    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;

    margin:20px 0 30px;

}

.vedagni-category-tab{

    display:flex;
    justify-content:center;
    align-items:center;

    min-height:42px;

    padding:10px 22px;

    background:#F4F4F4;

    border:1px solid #D8D8D8;

    border-radius:30px;

    color:#333;

    font-size:15px;
    font-weight:600;

    cursor:pointer;

    transition:.25s;

    text-align:center;

    line-height:1.3;

  white-space:nowrap;

}

.vedagni-category-tab:hover{

    background:#1F3C88;

    color:#fff;

    border-color:#1F3C88;

}

.vedagni-category-tab.active{

    background:#1F3C88;

    color:#fff;

    border-color:#1F3C88;

}


/* =====================================
   MOBILE RESPONSIVE
===================================== */

/* =========================
   MOBILE CARDS
========================= */

.vedagni-mobile-cards{
    display:none;
}

.vedagni-mobile-item{
    background:#fff;
    border:1px solid #ddd;
    border-radius:12px;
    padding:15px;
    margin-bottom:15px;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.mobile-item-title{
    font-size:20px;
    font-weight:700;
    color:#1F3C88;
    margin-bottom:15px;
}

.mobile-row{
    margin-bottom:12px;
}

.mobile-row label{
    display:block;
    font-size:14px;
    font-weight:600;
    margin-bottom:5px;
}

.vedagni-desktop-table{
    display:block;
}


/* Hide old document footer in SaaS UI */
.vedagni-generator-footer{
    display:none;
}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

    .vedagni-desktop-table{
        display:none !important;
    }

  


.vedagni-container{
    padding:16px !important;
    margin:0 !important;
}

.vedagni-card{
    padding:0 !important;
}

    .vedagni-mobile-item{
        background:#fff;
        border:1px solid #ddd;
        border-radius:12px;
        padding:15px;
        margin-bottom:20px;
    }

  .mobile-item-title{
    font-size:16px;
    font-weight:700;
    text-align:center;
    color:#1F3C88;
    line-height:1.4;
}

    .mobile-row{
         margin-bottom:8px;
    }

    .mobile-row label{
        display:block;
        font-size:15px;
        font-weight:700;
        margin-bottom:8px;
        color:#333;
    }

  .vedagni-qty-box{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    width:100%;
}

.vedagni-qty-input{

      width:65px !important;
    height:40px;

    text-align:center;

       font-size:18px;
    font-weight:700;

    border:2px solid #ddd;
    border-radius:10px;

    outline:none;

}

.mobile-row .vedagni-unit,
.mobile-row .vedagni-rate{

    width:100% !important;
    max-width:100% !important;

    box-sizing:border-box;

}


.mobile-half .vedagni-rate{

    text-align:right;

    font-weight:600;

}

.qty-minus,
.qty-plus{

    width:40px;
    height:40px;

    font-size:20px;

}
    
.mobile-category-title{
     font-size:22px;
       font-weight:700;
    color:#1F3C88;
    text-align:center;
    margin:0 0 15px;
        margin-bottom:12px;
}

.vedagni-mobile-category{
    border-left:5px solid #D6B36A;
    padding-left:12px;
    margin-bottom:20px;
}



.mobile-row-group{

    display:flex;
    gap:12px;

    margin-top:12px;

}

.mobile-half{

    flex:1;

}

.mobile-half label{

    display:block;

    font-size:13px;

    color:#666;

    font-weight:600;

    margin-bottom:4px;

}

.mobile-half select,
.mobile-half input{

    width:100%;
    height:42px;

    padding:0 12px;

    box-sizing:border-box;

    border-radius:8px;

    font-size:15px;

}





}



/* ======================================
   MOBILE PREVIEW TABLE
====================================== */

@media (max-width:768px){

/* ======================================
   PREVIEW TABLE SCROLL
====================================== */

.vedagni-preview-scroll{

    width:100%;

    max-height:45vh;

    overflow:auto;

    border:1px solid #ddd;

    border-radius:8px;

    margin-bottom:25px;

    -webkit-overflow-scrolling:touch;

    /* Firefox */
    scrollbar-width:auto;
    scrollbar-color:#1F3C88 #e5e5e5;

}

/* Chrome / Edge / Safari */

.vedagni-preview-scroll::-webkit-scrollbar{

    width:8px;
    height:8px;

}

.vedagni-preview-scroll::-webkit-scrollbar-track{

    background:#e5e5e5;

}

.vedagni-preview-scroll::-webkit-scrollbar-thumb{

    background:#1F3C88;

    border-radius:20px;

}

.vedagni-preview-scroll::-webkit-scrollbar-thumb:hover{

    background:#16306d;

}

.vedagni-preview-scroll table{

    width:100%;
    min-width:720px;

    border-collapse:collapse;

}

.vedagni-preview-scroll th,
.vedagni-preview-scroll td{

    white-space:nowrap;

    padding:10px 12px;

}

.vedagni-preview-scroll td:first-child{

    min-width:220px;

}

#vedagni-preview-content th,
#vedagni-preview-content td{

    white-space:nowrap;

    padding:10px;

}

#vedagni-preview-content td:first-child{

    min-width:220px;

}

}

@media(max-width:768px){

#vedagni-modal-content img{
    max-width:180px !important;
    display:block !important;
    margin:0 auto 15px auto !important;
}

#vedagni-modal-content h3{
    font-size:20px !important;
}

}

/* ======================================
   MOBILE CATEGORY TABS
====================================== */

@media (max-width:768px){

 .vedagni-category-nav{

    display:flex;
    flex-direction:column;
align-items:center;

    width:100%;

    gap:12px;

    margin:20px 0;

}

.vedagni-category-tab{

    width:100%;
    max-width:100%;

    display:block;

    padding:14px 18px;

    background:#F4F4F4;
    color:#333;

    border:none;
    border-radius:30px;

    font-size:17px;
    font-weight:600;

    text-align:center;

    line-height:1.35;

    white-space:normal;
    word-break:break-word;
    overflow-wrap:anywhere;

    box-sizing:border-box;

    box-shadow:0 2px 6px rgba(0,0,0,.08);

}

    .vedagni-category-tab.active{

        background:#1F3C88;
        color:#fff;

    }

}


/* ======================================
   SCROLL TO CATEGORIES
====================================== */

.vedagni-scroll-top{

    position:fixed;

    right:20px;
    bottom:25px;

    width:50px;
    height:50px;

    display:none;

    justify-content:center;
    align-items:center;

    background:#1F3C88;
    color:#fff;

    border:none;
    border-radius:50%;

    font-size:22px;
    font-weight:bold;

    cursor:pointer;

    box-shadow:0 4px 12px rgba(0,0,0,.25);

    z-index:9999;

    padding:0;

}

.vedagni-scroll-top.show{

    display:flex;

}

@media (max-width:768px){

    .vedagni-scroll-top{

      
    right:15px;
    bottom:90px;

    width:46px;
    height:46px;

    }

}

/* Hide number arrows - Chrome, Edge, Safari */

.vedagni-rate::-webkit-outer-spin-button,
.vedagni-rate::-webkit-inner-spin-button{

    -webkit-appearance:none;
    margin:0;

}

/* Hide number arrows - Firefox */

.vedagni-rate{

    -moz-appearance:textfield;
    appearance:textfield;

}



/*======================================
 STICKY TABLE HEADER (Preview)
======================================*/


#vedagni-modal table{

    border-collapse:collapse;

}

#vedagni-modal th{

    position:sticky;

    top:0;

    background:#1F3C88;

    color:#fff;

    z-index:20;

}