* {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body {
  margin: 0;
  padding: 0;
  background-color: #EDE9DE !important;
}

p {
  margin: 0;
  padding: 0;
}

.sidebar {
  width: 250px;
  background-color: #076452;
  position: fixed;
  height: 100%;
  overflow-y: auto;
  transition: width 0.3s ease;
}
.sidebar.collapsed {
  width: 70px;
   overflow-x: hidden;
}
.content {
  transition: margin-left 0.3s ease, width 0.3s ease;
  margin-left: 250px;
  width: calc(100% - 250px);
  /* display: flex; */
  gap: 20px;
  box-sizing: border-box;
  padding: 10px 20px 20px 20px;
}
.sidebar.collapsed ~ .content {
  margin-left: 70px;
  width: calc(100% - 70px);
}
.title_menu {
  width: 240px;
  padding: 10px 0;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.title_menu img {
  width: 75%;
}
.cross_button {
  background-color: #076452;
  border: none;
  color: white;
  border-radius: 10px;
  padding: 10px;
  margin: 0px 5px 0px 0px;
  flex: 1;
  cursor: pointer;
}
.cross_button:hover {
  background-color: #035242;
}
.border-line {
  border-top: 1px solid rgb(183, 178, 178);
  margin-bottom: 5px;
}
.body_menu {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.menu-item {
  position: relative;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  color: white;
  border-radius: 5px;
  width: 220px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: width 0.3s ease;
}
.menu-item.collapsed {
  width: 70px;
  padding: 0;
  justify-content: center;
}
.menu-item  {
  color: white;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.menu-item:hover {
  background-color: #035242;
  color: white;
}
.menu-item:hover  {
  color: white;
  text-decoration: none;
}
.menu-item  .fas {
  margin: 0px 15px 0px 5px;
  padding: 0;
  font-size: 18px;
  line-height: 18px;
}
.body_menu .menu-item  span {
  display: inline;
}
.title_menu img, .title_menu .cross_button, .title_menu .toggle-icon {
  transition: opacity 0.3s ease;
}
.sidebar.collapsed .body_menu .menu-item {
  width: 70px;
  padding: 0;
  justify-content: center;  
  border-radius: 5px;
}
.sidebar.collapsed .body_menu .menu-item  span {
  display: none;
}
.sidebar.collapsed .body_menu .menu-item  i {
  font-size: 20px;
  margin: 10px 0px;
}
.sidebar.collapsed .title_menu img,
.sidebar.collapsed .title_menu .cross_button {
  display: none;
}
.sidebar.collapsed .title_menu .toggle-icon {
  display: inline-block; 
}
.toggle-icon {
  display: none;
  justify-content: center;
  align-items: center;
  border: none;
  background-color: #076452;
  cursor: pointer;
  width: 70px;
  padding: 10px 15px;
}
.toggle-icon:hover {
  background-color: #035242;
}
.toggle-icon .fas {
  padding: 0;
  margin: 0;
  font-size: 18px;
  line-height: 18px;
  border: none;
  color: white;
}
.menu-item.active {
    background-color: #024e34; /* Highlight color */
    color: white;
}

.menu-item.active a {
    color: white;
    font-weight: bold;
}
.content_title{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0px 0px 40px 0px;
}

.content_title_left h2{
  margin: 0;
  padding: 0;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  color: rgb(7, 100, 82);
}
.content_title_left p{
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: rgb(71, 107, 100);
}
.account_display{
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 15px;
}
.account_display_title{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.account_display_title svg{
  color: rgb(7, 100, 82);
}
.account_display_title h2{
  font-size: 24px;
  line-height: 24px;
  font-weight: 600;
  color: rgb(7, 100, 82);
}
.account_details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.account_details_indi {
    flex: 1 1 calc(50% - 16px);
    box-sizing: border-box;
    padding: 12px;  
}
.account_details_indi_title{
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: rgb(71, 107, 100);
} 
.account_details_indi_value{
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: rgb(7, 100, 82);
}
.account_details_indi_button{
  background-color: rgb(51, 212, 51);
  color: white;
  border-radius: 10px;
  font-size: 16px; /* 👈 Add this line to control text size */
  padding: 1px 10px; /* Optional: makes it look more like a button */
  border: none;       /* Optional: removes default border */
  cursor: pointer; 
  display: inline-block;
}
.account-border-line{
  border: 1px solid #EDE9DE;
  margin-bottom: 15px;
}
.message_limit{
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: rgb(71, 107, 100);
}
.message_progress_bar_name{
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: rgb(7, 100, 82);
  margin-bottom: 5px;
}
.progress_bar {
    width: 100%;
    height: 10px;
    background-color: #1EDC64; /* remaining */
    border-radius: 10px;
    overflow: hidden;
}
.progress_used {
    height: 100%;
    background-color: rgb(7, 100, 82); /* used */
    transition: width 0.3s ease-in-out;
}
.name_display{
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 15px;
  margin: 40px 0px;
}
.name_display h2{
  font-size: 24px;
  line-height: 24px;
  font-weight: 600;
  color: rgb(7, 100, 82);
}
.name_display p{
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: rgb(71, 107, 100);
}
.display_name{
  background-color: #EDE9DE;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: rgb(7, 100, 82);
  margin: 0px 0px 10px 0px;
}
.green_tick{
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 40px;
}
.green_tick_head{
  display: flex;
  gap : 20px;
  margin-bottom: 20px;
}
.green_tick_icon{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50px;
}
.green_tick_icon_green{
  background-color: #EAF9EA;
}
.green_tick_icon_blue{
 background: #E8F4FD;
 color: #2A99F4;
}
.green_tick_title_first{
  display: flex;
  gap : 10px;
}
.green_tick_title_name{
  font-size: 24px;
  line-height: 24px;
  font-weight: 600;
  color:rgb(7, 100, 82);
}
.green_tick_title_status{
  color: white;
  border-radius: 10px;
  font-size: 13px;
  padding: 1px 10px;
  border: none; 
  cursor: pointer; 
  display: inline-block;
}
.tick_pending{
  background-color: red;
}
.tick_underprocess{
  background-color: rgb(215, 161, 11);
}
.tick_verified{
    background-color: rgb(51, 212, 51);
}
.green_tick_title_second{
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color:rgb(71, 107, 100);
}
.green_tick_body{
  display: flex; 
}
.green_tick_body_left{
  width: 50%;
}
.green_tick_body_right{
  flex: 1;
}
.green_tick_body_left h3, .green_tick_body_right h3{
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color:rgb(7, 100, 82);
}

.green_tick_body_left li, .green_tick_body_right li{
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color:rgb(71, 107, 100);
}
.green_tick_button {
  background-color: #076452;
  color: white;
  text-align: center;
  padding: 12px 0px;
  border-radius: 15px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

.green_tick_button:hover {
  background-color: #035242;
  color: white;
  text-decoration: none;
}

.green_tick_button.disabled {
  background-color: #cccccc !important;
  color: #666666 !important;
  pointer-events: none;
  cursor: not-allowed;
}
/***********************/
.template_content{
  display: flex;
  box-sizing: border-box;
  gap: 0px;
}
.left-panel {
  width: 66%;
}
.right-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; 
}
.right-panel p{
   color: rgb(71, 107, 100);
}
.btnConfirm{
  background-color: #076452;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin:10px 0px;
  font-size: 20px;
  border-radius: 15px;
}
.btnConfirm:hover{
  background-color: #035242;
}

.mobile-mockup {
  width: 270px;
  height: 410px;
  background-color: white;
  border: 7px solid #ccc;
  border-radius: 36px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px;
  margin-top: 10px;
}

#previewImage{
  width: 100%;
  display: none;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
#previewVideo{
  display:none; 
  width:100%;
  max-height:30%;
}
#previewPdf{
  display:none; 
  width:100%; 
  height:100px;
}
#previewtext{
  margin: 0;
  padding: 0;
}
#previewText p{
  margin: 0;
  padding: 0;
}
#previewFooter{
  margin: 0;
  padding: 0;
  color: gray;
  white-space: normal;
  overflow-wrap: break-word;
}
.previewButton {
  background: black;
  color: white;
  display: none;
  width: 199px;
  align-items: center;
  justify-content : center;
  padding: 5px 0px;
  border-bottom: 1px solid silver;
  width: 100%;
}
.preview_section {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  font-size: 14px;
}
.preview_section img{
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}
#previewButtonsContainer:empty {
  display: none;
}
#previewButtonsContainer{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content : center;
  background: black;
  color: white;
}
.btn-primary-plus{
  background-color: #076452;
  padding: 5px 15px;
  border-radius: 5px;
  color: white;
  border: none;
  font-size: 20px;
}
.btn-primary-plus:hover{
  background-color: #035242;
}

#previewcontact:empty {
  display: none;
}
#previewcontact{
  display: block;
  background: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  box-sizing: border-box;
  border-bottom: 1px solid silver;
}
#previewlink:empty {
  display: none;
}
#previewlink{
  display: block;
  background: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  box-sizing: border-box;
} 
.image-upload-wrapper {
  margin-bottom: 20px;
}
.image-upload-box {
  position: relative;
  display: flex;
  align-items: center;
}
.custom-file-label {
  font-size: 14px;
  color: #555;
}
#uploadStatus {
  font-size: 13px;
  color: #28a745;
}
#loadingSpinner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid rgba(0, 0, 0, 0.2);
  border-top: 6px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.form-container-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
form#myForm {
    margin: 0px auto;
    padding: 5px 20px 20px 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.width-70 {
  width: 70%;
}
.width-100 {
  width: 100%;
}
form#myForm label.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
     color: rgb(71, 107, 100);
}
form#myForm input[type="text"],
form#myForm input[type="password"]{
    width: 100%;
    padding: 7px 12px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}
form#myForm select{
    width: 100%;
    padding: 7px 12px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    appearance: none;          
    background-color: #fff;
}
form#myForm .custom-select-wrapper {
    position: relative;
}

form#myForm .custom-select-wrapper select {
    width: 100%;
    padding: 7px 12px;
    padding-right: 40px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    height: 40px;
    box-sizing: border-box;
    appearance: none;
    background-color: #fff;
    cursor: pointer;
}
form#myForm .custom-select-wrapper::after {
    content: '';
    position: absolute;
    top: 45%;
    right: 14px;
    width: 0;
    height: 0;
    pointer-events: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #555;
    transform: translateY(-50%);
}
.btnConfirm[disabled] {
  background-color: #ccc;
  cursor: not-allowed;
}
#keywordInputs {
    display: flex;
    gap: 8px;
}
#keywordInputs input.keyword {
    flex: 1;
}
.primary-button{
    color: red;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
    margin-bottom: 15px;
}
.primary-button:hover{
   background-color: red;
   color: white;
}
/*************************************/
.keyword_cover{
  display: flex;
  justify-content: center;
}
#checkKeywordsBtn {
    background-color: #076452;
    color: white;
    border: none;
    padding: 10px 100px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
    margin-top: 10px;
}

#addKeywordBtn:hover,
#checkKeywordsBtn:hover {
    background-color: #035242;
}

#keywordList {
    margin: 10px 0 20px;
    padding: 10px;
    background: #e9ecef;
    border-radius: 6px;
    min-height: 40px;
    font-size: 14px;
}

#keywordList div {
    background: #dee2e6;
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 5px;
    display: inline-block;
    margin-right: 8px;
}

#addKeywordBtn{
    background-color: #076452;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
    margin-bottom: 15px;
}
/**********************************/
.message_table{
  background-color: #FFFFFF;
  border-radius: 15px;
}
.table_image{
  width: 100px;
  height: 50px;
}
.table_image img{
  width: 100%;
  height: 100%;
}
   .form-popup {
    display: none;
    position: fixed;
    bottom: 0;
    right: 15px;
    border: 3px solid #f1f1f1;
    z-index: 9;
  }
   
.form-container {
    max-width: 300px;
    padding: 5px 10px;
    background-color: rgb(50, 47, 47);
    color: white;
  }
   
  .form-container input[type=text], .form-container input[type=password], .form-container select {
    width: 100%;
    padding: 1px 10px;
    
    border: none;
    background: gray;
    color: white; 
    font-size: 16px; 
    border-radius: 5px; 
    margin-bottom: 5px;
}

.form-container select {
    appearance: none;
    background-color: gray; 
    color: white; 
    padding: 1px 10px; 
    border-radius: 5px; 
    border: none; 
    cursor: pointer; 
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="5" viewBox="0 0 10 5"><polygon points="0,0 5,5 10,0" fill="white"/></svg>');
    background-repeat: no-repeat;
    background-position: right 5px center; 
    background-size: 5px; 
}
  
  .form-container input[type=text]:focus, .form-container input[type=password]:focus {
    background-color: #534f4f;
    outline: none;
  }
  
  .form-container .btn {
    background-color: #04AA6D;
    color: white;
    padding: 5px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom:5px;
    opacity: 0.8;
  }
  
  .form-container .cancel {
    background-color: red;
  }
  
  .form-container .btn:hover, .open-button:hover {
    opacity: 1;
  }

  .form-popup_new {
    display: none;
    position: fixed;
    bottom: 0;
    right: 15px;
    border: 3px solid #f1f1f1;
    z-index: 9;
  }
  
  
  .form-container_new {
    max-width: 300px;
    padding: 10px;
    background-color: white;
  }
  .th-color{
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: rgb(71, 107, 100);
    text-align: center;
  }
  .message_data{
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: rgb(71, 107, 100);
  }
  .update_button{
    color: rgb(71, 107, 100);
    border: none;
    background-color: #FFFFFF;
  }
   .update_button:hover{
    color: rgb(22, 205, 168);
  }
.delete_button{
  font-size: 14px;
    line-height: 20px;
    font-weight: 400;
  color: rgb(71, 107, 100);
  border: none;
  background-color: #FFFFFF;
 /* background-color: none; */
}
.hover_highlight:hover,
.hover_highlight:hover + .sub-items-row {
  background-color: #EFEDE8;
}

#searchForm{
  background-color: #FFFFFF;
  padding: 15px 0px;
  margin: 0px 5px ;
  border-radius: 15px;
}
#searchTitle, #searchKeyword, #searchType, #searchtracker_id, #searchphone_number, #searchtext, #searchstatus, #searchstartdate, #searchenddate{
 background-color: #EDE9DE;
 color: rgb(7, 100, 82);
}

#searchForm input::placeholder{
 background-color: #EDE9DE;
 color: rgb(7, 100, 82);
}
.color_pending{
  color: red;

}
.color_underprocess{
 color: rgb(215, 161, 11);
}
.color_success{
   color: #076452;
}
.top_margin_campaign{
  margin: 25px;
  border: 1px solid red;
}
/********************************/

.tooltip-right {
  flex-shrink: 0;
}

.tooltip-right {
  position: relative;
}
.tooltip-popup {
  position: absolute;
   top: -25px;  
  right: 20px; 
  z-index: 9999; 
  display: none;
  background-color: #f1f1f1;
  color: #333;
  border: 1px solid #ccc;
  padding: 5px 16px 5px 12px;
  border-radius: 4px;
  width: 400px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  font-size: 12px; 
}

.tooltip-close {
  position: absolute;
  top: 0px;
  right: 8px;
  color: #666;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}
.tooltip-close:hover {
  color: #000;
}
.download_button{
  margin: 10px 0px;
}
.rejected{
  color: rgb(235, 87, 87);
  padding: 5px 10px;
  background-color: #FAD3D3;
  text-align: center;
  border-radius: 5px;
}
 .check_button{
    color: rgb(71, 107, 100);
    border: none;
   background-color: #FFFFFF;
  }

   .check_button:hover{
    background-color: #EFEDE8
  }

.check_button svg path {
    fill: rgb(71, 107, 100);
}

.check_button svg path:hover {
    fill: rgb(22, 205, 168);
}
.test_button{
  border: none;
  background-color: #FFFFFF;
}
.test_button svg path {
    fill: rgb(71, 107, 100);
}
.test_button svg path:hover{
 fill: rgb(22, 205, 168);
}
.hover_highlight:hover .test_button{
  background-color: #EFEDE8;
}
.hover_highlight:hover .check_button{
  background-color: #EFEDE8;
}

.hover_highlight:hover .update_button{
  background-color: #EFEDE8;
}
/*##########################*/
.buttonItem {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.buttonItem input {
  flex: 1;
  margin-right: 10px;
}

#buttonInputs {
  display: flex;
  gap: 10px;
  padding: 0;
}

#buttonInputs input {
  flex: 1;
}
.buttonRow {
    display: block; 
}


.select-with-arrow {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url('https://cdn-icons-png.flaticon.com/512/60/60995.png') no-repeat right 10px center;
  background-size: 16px;
  padding-right: 30px; /* space for the arrow */
}
/************************/
.confirm-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: none;
    width: 300px;
    text-align: center;
    border-radius: 8px;
}

.confirm-actions {
    margin-top: 15px;
    display: flex;
    justify-content: space-around;
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  display: none;
  }

  .popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  display: none;
}

.confirm-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: none;
  width: 300px;
  text-align: center;
}

  #tokenContainer {
      display: none;
      margin-top: 10px;
      padding: 10px;
      background-color: #f4f4f4;
      border: 1px solid #ccc;
      word-break: break-all;
    }
    .show_btn{
      border:none;
      background-color:gray;
      padding: 5px 5px;
      border-radius: 10px;
    }
    .btn {
      padding: 8px 12px;
      background-color: #007bff;
      color: white;
      border: none;
      cursor: pointer;
      border-radius: 4px;
    }

    .btn:hover {
      background-color: #0056b3;
    }

    .action_button{
      display: flex;
      flex-direction: row;
    }
    .action_btn{
      margin: 0px 5px;
    }
    .button_btn{
      width: 80px;
      border: none;
      color: white;
      cursor: pointer;
      border-radius: 4px;
      padding: 5px 0px;
    }
    .button_btn_green{
      background-color: #218838;
    }
    .button_btn_blue{
      background-color: #0069D9;
    }
    .button_btn_red{
      background-color: #C82333;
    }
    .button_btn_lightred{
       background-color: #e15561;
    }
    .button_btn_lightgreen{
       background-color: #5bd876;
    }

    .button_btn_green:hover{
      background-color: #48a95d;
    }
    .button_btn_blue:hover{
      background-color: #3879bf;
    }
    .button_btn_red:hover{
      background-color: #a92431;
    }
    .button_btn_lightred:hover{
       background-color: #d45e68;
    }
    .button_btn_lightgreen:hover{
       background-color: #46a15a;
    }
    .alert-success{
      background-color: #033f29;
      color: white;
    }
    .alert-danger{
      background-color: #e12d1d;
      color: white;
    }

    /* Pagination container */
/* Pagination container */
.pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  list-style: none;
  padding: 0;
}

/* Pagination links and spans */
.pagination a{
  display: inline-block;
  margin: 0 5px;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #076452;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
}
.pagination span {
  display: inline-block;
  margin: 0 5px;
  border-radius: 4px;
  text-decoration: none;
  color: #076452;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
}

/* Hover effect: apply to li so both a and span change */
.pagination li:hover a,
.pagination li:hover span {
  background-color: #076452;
  color: #fff;
  border-color: #076452;
  cursor: pointer;
}

/* Active page */
.pagination .active span,
.pagination .active a {
  background-color: #076452;
  color: #fff;
  border-color: #076452;
  cursor: default;
}

/* Disabled links */
.pagination .disabled span {
  color: #aaa;
  border-color: #ddd;
  cursor: not-allowed;
  background-color: #f9f9f9;
}
.download_row{
  display: flex;
  flex-direction: row;
  justify-content:space-between;
  align-items: center;
}
#totalCount{
  color: #076452;
}
.create_button{
  display: flex;
  justify-content: right;
  margin: 0px 10px 10px 0px; 
}

.error { 
    color: red; 
    font-size: 0.9em; 
}
 select option:disabled {
        color: red;       /* Text color */
        background-color: #f0d0d0; /* Background color */
        font-weight: bold;
    }


/* .modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 400px; height: 400px;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
} */

/* .modal { 
  position: fixed; 
  top: 0; 
  left: 0; 
  z-index: 9999; 
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.8); 


  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  max-width: 80%; max-height: 80%; 
  border-radius: 5px; }
 
.close { 
  position: absolute; 
  top: 10px; 
  right: 10px; 
  color: #fff; 
  font-size: 40px; 
  font-weight: bold; 
  cursor: pointer; 
} 
.close:hover { 
  color: #ccc; 
} */

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content-wrapper {
  position: relative;
}

.modal-content {
  max-width: 80%;
  max-height: 80%;
  border-radius: 5px;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: red;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}


/* @keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
} */


/*.form-control-extra{
  margin-bottom: 5px;
}*/
/*
.radio-wrapper input[type="radio"] {
  margin-right: 5px;
} 
  */
/* .custom-file-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.custom-file-input:hover {
  border-color: #007bff;
} */
/*
.show_template{
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
} 
.show_template img{
  padding: 0px;
}
*/
/*
.extra_space_top{
  margin-top: 50px;
}
*/
/*
form#myForm h1 {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: left;
}
*/
/*
.checkbox-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}

.checkbox-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-left input[type="checkbox"] {
  margin: 0;
}

.checkbox-left label {
  margin: 0;
  cursor: pointer;
  line-height: 1;
}
*/
/*.info-icon {
  color: #007bff;
  cursor: pointer;
  font-size: 18px;
  user-select: none;
}
*/

/*
.textSection{
  margin-top: 10px;
}

.success-message {
    margin-top: 20px;
    background-color: #d4edda;
    color: #155724;
    padding: 12px 20px;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    max-width: 600px;
    text-align: center;
}


   

  #editor, #previewText {
  font-family: 'Segoe UI Emoji', 'Noto Color Emoji', 'Apple Color Emoji', sans-serif;
}
.pagination-wrapper {
  padding-top: 15px;
  padding-bottom: 15px;
  border: 1px solid red;
}
.custom-pagination {
    text-align: center;
    margin-top: 20px;
}

.custom-pagination a {
    display: inline-block;
    margin: 0 0px;
    padding: 8px 12px;
    text-decoration: none;
    background-color: #f2f2f2;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.custom-pagination a:hover {
    background-color: #007bff;
    color: white;
}

.custom-pagination strong {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
    border-radius: 4px;
}
.w-id {
    width: 120px;
    word-break: break-word;
}

.w-phone {
    width: 120px;
    word-break: break-word;
}

.w-text {
    width: 250px;
    word-break: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.w-text-modify {
    width: 250px;
    word-break: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.w-status {
    width: 100px;
}


td {
    max-width: 100%;
    overflow: hidden;
}

.table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.scrollable-templates {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }

   .fixed-submit {
    position: fixed;
    bottom: 10px;
    right: 0px;
    transform: translateX(-50%);
    z-index: 1000;
  }

   .facebook_container{
    width: 100%;
  }
   .facebook_section{
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .facebook{
    background-color: #1877f2;
    border: 0;
    border-radius: 4px;
    color: #fff; cursor:
    pointer; font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    height: 40px;
    padding: 0 24px;
  }
*/
