* {
        font-family: Verdana, Geneva, Tahoma, sans-serif;
      }
 ::-webkit-scrollbar {
  width: 5px;
} 

  .hidden {
      display: none !important;
  }
  .img-logo {
      width: 80%;
      max-width: 230px;
  }

@media only screen and (max-width: 800px) {
    /* Styles for mobile devices */
    .img-logo {
         margin: 0px auto;
     }
}
/* 
    Invoice Te,plate 
*/
#invoice_viewer  *,
#invoice_viewer ::before,
#invoice_viewer ::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

#invoice_viewer ::before,
#invoice_viewer ::after {
  --tw-content: '';
}

#invoice_viewer  {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
}

#invoice_viewer  {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

#invoice_viewer hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

#invoice_viewer abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

#invoice_viewer h1,
#invoice_viewer h2,
#invoice_viewer h3,
#invoice_viewer h4,
#invoice_viewer h5,
#invoice_viewer h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

#invoice_viewer a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

#invoice_viewer b,
#invoice_viewer strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/

#invoice_viewer code,
#invoice_viewer kbd,
#invoice_viewer samp,
#invoice_viewer pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/*
Add the correct font size in all browsers.
*/

#invoice_viewer small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

#invoice_viewer sub,
#invoice_viewer sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

#invoice_viewer sub {
  bottom: -0.25em;
}

#invoice_viewer sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

#invoice_viewer table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

#invoice_viewer button,
#invoice_viewer input,
#invoice_viewer optgroup,
#invoice_viewer select,
#invoice_viewer textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

#invoice_viewer button,
#invoice_viewer select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

#invoice_viewer button,
#invoice_viewer [type='button'],
#invoice_viewer [type='reset'],
#invoice_viewer [type='submit'] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

#invoice_viewer :-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

#invoice_viewer :-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

#invoice_viewer progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

#invoice_viewer ::-webkit-inner-spin-button,
#invoice_viewer ::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

#invoice_viewer [type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

#invoice_viewer ::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

#invoice_viewer ::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

#invoice_viewer summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

#invoice_viewer blockquote,
#invoice_viewer dl,
#invoice_viewer dd,
#invoice_viewer h1,
#invoice_viewer h2,
#invoice_viewer h3,
#invoice_viewer h4,
#invoice_viewer h5,
#invoice_viewer h6,
#invoice_viewer hr,
#invoice_viewer figure,
#invoice_viewer p,
#invoice_viewer pre {
  margin: 0;
}

#invoice_viewer fieldset {
  margin: 0;
  padding: 0;
}

#invoice_viewer legend {
  padding: 0;
}

#invoice_viewer ol,
#invoice_viewer ul,
#invoice_viewer menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

#invoice_viewer dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

#invoice_viewer textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

#invoice_viewer input::placeholder,
#invoice_viewer textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

#invoice_viewer button,
#invoice_viewer [role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

#invoice_viewer :disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

#invoice_viewer img,
#invoice_viewer svg,
#invoice_viewer video,
#invoice_viewer canvas,
#invoice_viewer audio,
#invoice_viewer iframe,
#invoice_viewer embed,
#invoice_viewer object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

#invoice_viewer img,
#invoice_viewer video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

#invoice_viewer [hidden] {
  display: none;
}

#invoice_viewer *, ::before, ::after{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

#invoice_viewer ::backdrop{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

#invoice_viewer .fixed{
  position: fixed;
}

#invoice_viewer .bottom-0{
  bottom: 0px;
}

#invoice_viewer .left-0{
  left: 0px;
}

#invoice_viewer .table{
  display: table;
}

#invoice_viewer .h-12{
  height: 3rem;
}

#invoice_viewer .w-1\/2{
  width: 50%;
  padding-right: 40px;
}
#invoice_viewer .w-1\/2.text-right{
  padding-right: 0px;
  padding-left: 40px;
}

#invoice_viewer .w-full{
  width: 100%;
}

#invoice_viewer .border-collapse{
  border-collapse: collapse;
}

#invoice_viewer .border-spacing-0{
  --tw-border-spacing-x: 0px;
  --tw-border-spacing-y: 0px;
  border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
}

#invoice_viewer .whitespace-nowrap{
  white-space: nowrap;
}

#invoice_viewer .border-b{
  border-bottom-width: 1px !important;
}

#invoice_viewer .border-b-2{
  border-bottom-width: 2px !important;
}

#invoice_viewer .border-r{
  border-right-width: 1px !important;
}

#invoice_viewer .border-main{
  border-color: #5c6ac4;
}

#invoice_viewer .bg-main{
  background-color: #5c6ac4;
}

#invoice_viewer .bg-slate-100{
  background-color: #f1f5f9;
}

#invoice_viewer .p-3{
  padding: 0.55rem !important;
}

#invoice_viewer .px-14{
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
}

#invoice_viewer .px-2{
  padding-left: 0.4rem !important;
  padding-right: 0.4rem !important;
}

#invoice_viewer .py-10{
  padding-top: 2.0rem !important;
  padding-bottom: 2.0rem !important;
}

#invoice_viewer .py-3{
  padding-top: 0.55rem !important;
  padding-bottom: 0.55rem !important;
}

#invoice_viewer .py-4{
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

#invoice_viewer .py-6{
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

#invoice_viewer .pb-3{
  padding-bottom: 0.55rem !important;
}

#invoice_viewer .pl-2{
  padding-left: 0.5rem !important;
}

#invoice_viewer .pl-3{
  padding-left: 0.55rem !important;
}

#invoice_viewer .pl-4{
  padding-left: 1rem !important;
}

#invoice_viewer .pr-3{
  padding-right: 0.55rem !important;
}

#invoice_viewer .pr-4{
  padding-right: 1rem !important;
}

#invoice_viewer .text-center{
  text-align: center;
}

#invoice_viewer .text-right{
  text-align: right;
}

#invoice_viewer .align-top{
  vertical-align: top;
}

#invoice_viewer .text-sm{
  font-size: 1.0rem !important;
  line-height: 1.25rem !important;
}

#invoice_viewer .text-xs{
  font-size: 0.95rem !important;
  line-height: 1.2rem !important;
}

#invoice_viewer .font-bold{
  font-weight: 700;
}

#invoice_viewer .italic{
  font-style: italic;
}

#invoice_viewer .text-main{
  color: #5c6ac4;
}

#invoice_viewer .text-neutral-600{
  color: #525252;
}

#invoice_viewer .text-neutral-700{
  color: #404040;
}

#invoice_viewer .text-slate-300{
  color: #cbd5e1;
}

#invoice_viewer .text-slate-400{
  color: #94a3b8;
}

#invoice_viewer .text-white{
  color: #fff;
}

@page {
  margin: 0;
}

@media print {
  #invoice_viewer  {
    -webkit-print-color-adjust: exact;
  }
}

.pay_opts {
    padding:15px; border:1px solid #999; border-radius:7px;
}
.pay_opts:hover, .selected_opt {
    border:2px solid #000; 
    cursor: pointer;
}
.pay_opts img {
    width:80%; height:40px; object-fit:contain;
}
.pay_opts p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  margin-top: 5px;
}

.btn-file {
            --bs-btn-color: #fff;
            --bs-btn-bg: #1b898b;
            --bs-btn-border-color: #3e8891;
            --bs-btn-hover-color: #fff;
            --bs-btn-hover-bg: #13977f;
            
            --bs-btn-color: #3e8891;
            --bs-btn-bg: rgba(0,0,0.0.1);
        }
        
body {
        font-family: "Trirong", serif;
        background-color: #f1f1f1; 
        background: linear-gradient(180deg, #298958 0%, #e0fff3 100%);
        background-attachment: fixed; 
    }
    .main_body {
        height: 100%; 
        width: 100%;
        min-height: 100vh; 
    }
.form_footer2 {
        margin-top: 30px;
        background: rgba(200, 222, 200, 0.3);
        width: 100%;
        padding: 1.3rem 3rem ;
        border-top: 1px solid #298958;
        font-size:12px;
        line-height: 16px;
        font-family: "Trirong", serif;
    }
    .ad_img {
        width: 95%;
        max-width:160px;
    }
    .footer-logo {
        width: 150px;
        margin-bottom:20px;
    }
    .footer-logo2 {
        width: 150px;
        margin-bottom:2px;
    }
    .btn-smaller {
        font-size: 14px;
        padding: 7px 15px;
    }
    
    .w-100 {
            max-width: 1000px;
        }
        .processer {
            position: absolute;top:0;left:0;withd:100%;height:100%;z-index:100;background:rgba(255,255,255,0.7);
        }
        .ticket-details {
      background-color: #ffffff;
      border-radius: 8px;
      padding: 20px;
      margin-bottom: 20px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    .ticket-details h3 {
      margin-top: 0;
    }
    .ticket-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-top: 10px;
    }
    .meta-item {
      background: #f0f0f0;
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 11px;
    }

    .reply-box {
      margin-bottom: 30px;
      padding: 5px 20px;
    }
    textarea {
      width: 100%;
      height: 200px;
      padding: 10px;
      font-size: 14px;
      border: 1px solid #ccc;
      border-radius: 15px;
    }
    #replyText .ql-editor {
      overflow-y: auto;
      max-height: 200%;
    }

    .conversation {
        /*max-height: calc(100vh - 280px); */
    }

    .conversation .message {
    margin-top: 15px;
    padding: 17px;
    border-radius: 15px;
    border: 1px solid #efefef;
    background: #efefef;
    border-top-right-radius: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
    max-width: 94%;
    margin-left: 5%;
    }
    .conversation .message-admin {
    border: 1px solid #d7b97d;
    background: #f7f3eb;
    border-top-left-radius: 2px;
    margin-left: 0px;
    }
    .message_footer {
        width:100%;
        margin-top: 20px;
    }
    .conversation .msg_flex {
    display: flex;
    align-items: flex-start;        
    }
    .avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      margin-right: 12px;
      object-fit: cover;
    }
    .message-content {
      flex: 1;
    }
    .from {
      font-weight: bold;
      color: #333;
    }
    .timestamp {
      font-size: 12px;
      color: #888;
    }
    .body {
      margin-top: 6px;
      white-space: pre-wrap;
    }
    .body p {
        margin-bottom: 5px;
        font-size: 13px;
    }
    .body h1, .body h2 .body h3, .body h4, .body h5, .body h6 {
        margin-bottom: 7px;
    }
    .hidden {
    display:none important;
}
.inputfile {
    max-width: 120px;
	opacity: 0 !important;
	overflow: hidden !important;
	position: absolute !important;
	left:0; top:0;
	z-index: 100 !important;
}
.inputfile + label {
    font-size: 1.25em;
    font-weight: 700;
    color: white;
    background-color: black;
    display: inline-block;
}
.hoverable:hover {
    cursor: pointer;
}

.inputfile:focus + label,
.inputfile + label:hover {
    background-color: red;
}
.inputfile + label {
	cursor: pointer; /* "hand" cursor */
}
.inputfile:focus + label {
	outline: 1px dotted #000;
	outline: -webkit-focus-ring-color auto 5px;
}
 #scrollTopBtn {
    position: fixed;
  bottom: 30px;
  left: 50%;              /* Center horizontally */
  transform: translateX(-50%);  /* Adjust for exact center */
  z-index: 100;
  background-color: black;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: none; /* Hidden by default */
  transition: opacity 0.3s ease;
  }

  #scrollTopBtn:hover {
    opacity: 0.8;
  }
  
  .mailbox-attachments {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mailbox-attachments li {
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 10px;
  width: 180px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mailbox-attachments li img, .mailbox-attachments li svg {
  max-height: 53px;
  width: auto;
  margin-bottom: 10px;
}

.mailbox-attachment-info {
  font-size: 13px;
  text-align: center;
}

.mailbox-attachment-name {
  display: block;
  color: #007bff;
  font-weight: 500;
  margin-bottom: 5px;
  text-decoration: none;
  word-break: break-all;
}

.mailbox-attachment-name:hover {
  text-decoration: underline;
}

.mailbox-attachment-size {
  color: #666;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mailbox-attachment-size .btn {
  margin-left: 5px;
  font-size: 11px;
  padding: 2