@import url('/fonts/DroidSerif.ttf');
@import url('/fonts/DroidSerif-Bold.ttf');
@import url('/fonts/DroidSerif-BoldItalic.ttf');
@import url('/fonts/DroidSerif-Italic.ttf');
@import url('/fonts/GreatVibes-Regular.ttf');
@import url('/fonts/Montserrat-Italic-VariableFont_wght.ttf');
@import url('/fonts/Montserrat-VariableFont_wght.ttf');

@font-face {
    font-family: 'Droid Serif';
    src: url('/fonts/DroidSerif.ttf');
}
@font-face {
    font-family: 'Great Vibes';
    src: url('/fonts/GreatVibes-Regular.ttf');
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-VariableFont_wght.ttf');
}

body {
    font-family: 'Roboto', sans-serif !important;
}

#download-files-wrapper .details > div {
    font-family: 'Droid Serif', serif;
}

#download-files-wrapper .details > .certificate-presented-row,
#download-files-wrapper .details > .description-row,
#download-files-wrapper .details pre,
#download-files-wrapper .details > .signatory-row {
    font-family: 'Montserrat', serif;
}
#download-files-wrapper .details > .certificate-presented-row,
#download-files-wrapper .details > .description-row {
    font-weight: 400 !important;
}

#download-files-wrapper .details > .awardee-row {
    left: 50%;
    font-family: 'Great Vibes', serif;
    font-size: 100px;
    top: 44%;
    color: #000000;
    position: absolute;
    width: 100%;
    transform: translateX(-50%);
}
#cert-front .details .awardee-row::after {
    content: '';
    display: block;
    border-bottom: 3px solid #000;
    width: 60%;
    margin: 0 auto; /* spacing above line */
    position: relative;
    z-index: 5;
}
#download-files-wrapper .details > .length-of-service-row {
    top: 320px;
    font-size: 43px;
    color: #000000;
    position: absolute;
    font-weight: 600;
    letter-spacing: 2px;
    left: 50%;
    transform: translateX(-50%);
}
#download-files-wrapper .details > .length-of-service-count {
    top: 268px;
    font-size: 43px;
    color: #000000;
    position: absolute;
    font-weight: 600;
    letter-spacing: 2px;
    left: 50%;
    transform: translateX(-50%);   
}
#download-files-wrapper .details > .smc-row {
    font-size: 43px;
    color: #d80200;
    position: absolute;
    top: 145px;
    font-weight: 600;
    letter-spacing: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
#download-files-wrapper .details > .smc-row.yl-cert {
    font-size: 36px;
}
#download-files-wrapper .details > .the-management {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 94px;
    font-size: 30px;
}
#download-files-wrapper .details > .is-pleased {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 210px;
    font-size: 30px;
}
/* #download-files-wrapper .details > .coa-row {
    font-size: 61px;
    color: #000000;
    position: absolute;
    top: 189px;
    left: 172px;
    font-weight: 600;
    letter-spacing: 2px;
} */
#download-files-wrapper .details > .certificate-presented-row {
    font-size: 30px;
    color: #000000;
    position: absolute;
    top: 400px;
    left: 50%;
    transform: translateX(-50%);
}
#download-files-wrapper .details > .description-row {
    font-size: 24px;
    color: #000000;
    position: absolute;
    top: 659px;
    left: 196px;
    max-width: 1000px;
    font-style: italic;
    line-height: 1.5;
}
#download-files-wrapper .details > .signatory-row {
    font-size: 27px;
    color: #000000;
    position: absolute;
    bottom: 95px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    max-width: 1000px;
    left: 187px;
}
#download-files-wrapper .details > .signatory-row > div > div:first-child {
    font-weight: 600;
}
#download-files-wrapper .details > .signatory-row > div > div:last-child {
    font-size: 20px;
}

/* #download-files-wrapper .details > .certificate-presented-row,
#download-files-wrapper .details > .description-row,
#download-files-wrapper .details pre,
#download-files-wrapper .details > .signatory-row {
    font-family: 'Montserrat', serif;
}
#download-files-wrapper .details > .certificate-presented-row,
#download-files-wrapper .details > .description-row {
    font-weight: 400 !important;
}

#download-files-wrapper .details > .awardee-row {
    font-family: 'Great Vibes', serif;
    font-size: 112px;
    top: 45%;
    color: #000000;
    position: absolute;
    width: 100%;
}
#download-files-wrapper .details > .length-of-service-row {
    font-size: 44px;
    color: #1f1f1f;
    position: absolute;
    top: 320px;
    left: 437px;
    font-style: italic;
}
#download-files-wrapper .details > .smc-row {
    font-size: 45px;
    color: #d80200;
    position: absolute;
    top: 65px;
    left: 295px;
    font-weight: 600;
    letter-spacing: 2px;
}
#download-files-wrapper .details > .coa-row {
    font-size: 61px;
    color: #000000;
    position: absolute;
    top: 189px;
    left: 172px;
    font-weight: 600;
    letter-spacing: 2px;
}
#download-files-wrapper .details > .certificate-presented-row {
    font-size: 27px;
    color: #000000;
    position: absolute;
    top: 400px;
    left: 547px;
}
#download-files-wrapper .details > .description-row {
    font-size: 24px;
    color: #000000;
    position: absolute;
    top: 659px;
    left: 196px;
    max-width: 1000px;
    font-style: italic;
    line-height: 1.5;
}
#download-files-wrapper .details > .signatory-row {
    font-size: 27px;
    color: #000000;
    position: absolute;
    bottom: 95px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    max-width: 1000px;
    left: 187px;
}
#download-files-wrapper .details > .signatory-row > div > div:first-child {
    font-weight: 600;
}
#download-files-wrapper .details > .signatory-row > div > div:last-child {
    font-size: 20px;
} */
.cert-wrap {
    position: relative;
}

/* .awardee-row:before {
    border-bottom: 1px solid #000;
    content: '';
    top: 98.5%;
    bottom: 0;
    right: 0;
    left: 0;
    position: absolute;
    background-color: #000;
    margin: 0 auto;
    width: 50%;
} */
.awardee-row.no-underline:before {
    content: unset !important;
}
/* .cert-wrap:before {
    content: '';
    width: 2px;
    background-color: red;
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
} */

/* .cert-wrap:after {
    content: '';
    height: 2px;
    background-color: #dc3545;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
} */

.container-sys {
    display: flex;
    min-height: 100vh;
    background-color: #ddd;
}
.container-sys aside, .modal-header {
    background-color: #cf0000;
}
.modal-title {
    color: #fff;
}
/* .container-sys .sidebar ul li {
    list-style-type: none;
}
.container-sys .sidebar ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    font-size: 14px;
}
.container-sys .sidebar ul {
    margin: 0;
    padding: 0;
} */
.container-sys main {
    flex: 1;
    padding: 1rem;
}
.id-back-details > div {
    display: flex;
    margin-bottom: 20px;
}
.id-back-details > div:nth-child(2){
    gap: 10rem;
}
.id-back-details > div > div > div {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}
.id-back-details > div:first-child,.id-back-details > div:last-child {
    flex-direction: column;
}
.id-back-details > div label {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 15px;
}
.id-back-details > div span {

    font-size: 20px;
}



  
.marker {
    background-color: #0074D9;
    color: #FFFFFF;
    font-size: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
.ac-smc-logo .logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.ac-smc-logo .logo-wrapper div:last-child span:first-child {
    font-size: 2.5rem;
    font-weight: bold;
}
.condition-wrapper h4 {
    text-align: center;
}
.condition-wrapper tr td:first-child {
    font-weight: bold;
}
.condition-wrapper tr td:nth-child(2){
    text-align: center;
}
.condition-wrapper tr {
    display: flex;
}
.condition-wrapper tr > * {
    flex: 1;
}
.ac-total-population {
    display: flex;
}
.ac-total-population > * {
    flex: 1;
}
.ac-total-population > span {
    text-align: center;
}

.mapt-btn-wrapper {
    width: 100%;
    height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .mapt-btn-wrapper > div {
    background-color: #ffffff;
    padding: 5rem;
    border-radius: 10px;
    display: flex;
    gap: 3rem;
    border-top: 10px solid #cf0000;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 70%;
  }

  .mapt-btn-wrapper > div a {
    padding: 2rem;
    border: 1px solid #dddd;
    background-color: #cf0000;
    color: #fff;
    letter-spacing: 1px;
    flex-basis: 25%;
  }
  .mapt-btn-wrapper > div a:hover {
    background-color: #1f4180;
    color: #fff;
  }
  .mapt-btn-wrapper > div a i {
    width: 100%;
    font-size: 2rem;
  }
  .ac-settings-wrapper {
    display: none;
  }

  .container-sys .main-menu .submenu {
    padding-left: 1.5rem;
  }
  .container-sys .main-menu {
    background-color:  #383838;
  }
  .container-sys .main-menu .submenu {
    background-color: #2d2d2d;
  }
  .table td {
    font-size: 14px !important;
    vertical-align: middle;
  }
 



  body {
    font-family: Arial, sans-serif;
}
.sidebar {
    width: 250px;
    background-color: #333;
    color: #fff;
    padding: 20px;
}
.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.sidebar li {
    margin-bottom: 10px;
}
.sidebar li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 5px 10px;
}
.sidebar li.active > a {
    background-color: #555;
}
.sidebar li ul {
    display: none;
    margin-left: 10px;
}
.sidebar li.active ul {
    display: block;
}
.sidebar li ul li {
    margin-bottom: 0;
}

.main-menu > li > a > span {
    float: right;
}
.main-menu > li.active > a > span {
    transform: rotate(45deg);
}
.main-menu > li {
    position: relative;
}
.main-menu > li:hover {
    cursor: pointer;
}
.header-buttons-filters .top-left ul {
    margin-bottom: 0;
    padding-left: 0;
    display: flex;
}
.header-buttons-filters .top-left li {
    list-style-type: none ;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.header-buttons-filters .top-left li a {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55);
    font-weight: 700 !important;
}
.header-buttons-filters .top {
    display: flex;
    gap: .3rem;
    padding: 15px 0 0;
    justify-content: space-between;
}
.header-buttons-filters .bottom {
    display: flex;
    gap: .3rem;
    padding: 15px 0 0;  
}
.header-buttons-filters .bottom > .left {
    flex: 1;
}
.header-buttons-filters .top > .left {
    padding: 10px 0;
}
.header-buttons-filters .top > div,.header-buttons-filters .bottom > div {
    display: flex;

}
.header-buttons-filters .bottom > div > div:not(:last-child) {
    margin-right: 10px;
}

h6 > span {
    font-weight: 600;
}

.outlet-table-sales thead > tr > th:first-child{
    width: 250px;
}

.table-freeze-wrapper {
    max-height: 500px; /* adjust height */
    overflow-y: auto;
    overflow-x: auto; /* keep horizontal scroll */
}

.outlet-table-sales thead th {
    position: sticky;
    top: 0;
    background: #fff; /* IMPORTANT: avoid overlapping */
    z-index: 20; /* higher so it stays on top */
    box-shadow: 0 2px 2px rgba(0,0,0,0.1); /* optional */
}

.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.6);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.outlet-table-sales th.day-column,
.outlet-table-sales td.day-column {
    width: 50px;       /* Fixed width */
    max-width: 50px;   /* Prevent stretching */
    text-align: right; /* Align numbers */
    white-space: nowrap;
}
.outlet-table-sales td.day-column.sunday-column {
    background-color: #4dff4d;
}

body, html {
  height: 100%;
}

/* parent flex */
.card-wrapper > .card {
  display: flex;
  flex-direction: column;
  height: 100vh; /* full screen */
}

/* header stays fixed height */
.card-wrapper .card-header {
  flex-shrink: 0;
}

/* the scrollable content */
.card-wrapper .card-body {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 20px;
}

/* optional just to ensure table doesn't overflow weird */
.card-wrapper .table-wrapper {
  overflow-x: auto;
}




.scroll-area .table-wrapper {
    max-height: 600px;
    overflow-y: auto;
    position: relative;
}

.outlet-table-sales thead th {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff !important;
    border-bottom: 2px solid #000000;
}

.outlet-table-sales tfoot td {
    position: sticky;
    bottom: 0;
    z-index: 15;
    background: #ddd; /* match your footer color */
    border-top: 2px solid #000000;
}

.outlet-table-sales tfoot tr {
    position: sticky;
    background: #ddd;
    z-index: 15;
}
.outlet-table-sales tfoot tr:nth-child(3) { bottom: 0; }
.outlet-table-sales tfoot tr:nth-child(2) { bottom: 30px; }
.outlet-table-sales tfoot tr:nth-child(1) { bottom: 60px; }


.municipality-row {
    scroll-margin-top: 100px; /* adjust to your sticky header height */
}
.with-hover-gray:hover {
    background-color: #ddd;
}