/* Default styles (Mobile first approach) */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    overflow-x: hidden !important;
    font-size: 0.90rem !important;
}

#results {
    padding: 20px;
}

.export {
    margin-right: 30px;
}

.status_active {
    color: green;
    font-weight: bold;
    text-align: center;
}

.status_pending {
    color: rgb(230, 79, 10);
    font-weight: bold;
    text-align: center;
}

.status_inactive {
    color: red;
    font-weight: bold;
    text-align: center;
}

.status_suspend {
    color: rgb(230, 21, 149);
    font-weight: bold;
    text-align: center;
}

.cd-quick-view {
    display: block;
    position: fixed;
    max-width: 900px;
    visibility: hidden;
    /* Force Hardware Acceleration in WebKit */
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: left, top, width;
    z-index: 1;
}
.employee_name{
    text-transform: capitalize;
}
label.error {
    color: #dc3545!important;
    font-size: 14px;
}

.quick-left {
    width: 35%;
    height: 200px;
    float: left;
    margin: 1px;
    padding-right: 10px;
}

.quick-left img {
    height: 178px;
    width: 100%;
}

.quick-right {
    height: 200px;
}

.visitor-log {
    margin-top: 3%;
    clear: both;
}

.visitor-log table {
    width: 100%;
    padding: 5px;
}

.visitor-log table thead {
    margin-bottom: 5px;
}

th {
    text-align: inherit;
    padding: 7px;
}

.my_class video {
    width: 427px;
    height: 390px;
}

.visitor-model {
    width: 700px;
}

.my_camera {
    margin-left: 28%;
}

.description {
    height: 300px;
}

tbody th {
    text-transform: capitalize;
}

.form-control-md {
    width: 60%;
}

.report-list-heading {
    font-size: large;
    font-weight: 400;
    border-bottom: black;
}

.report-list {
    list-style-type: none;
    margin-top: 60px;
    padding: 20px;
    border: 1px grey solid;
}

.text-center {
    padding-left: 20px;
}

.mandatory {
    color: red;
    margin-left: 2%;
    font-size: 22px;
}

.sub-menu {
    padding-left: 10%;
}

.btn-space {
    margin-right: 1%;
}

.content-header {
    padding: 5px;
}

.dropdown-menu,
.form-control-md,
.form-control-sm,
.form-control {
    font-size: 0.85rem !important;
}

.dropdown {
    font-weight: 400;
    line-height: 1.5;
}

.dropdown .title {
    font-weight: 400;
    line-height: 1.5;
}

.table td,
.table th {
    padding: .5rem !important;
}

table.dataTable {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    font-size: 0.85rem;
}

.col-form-label {
    font-weight: 500 !important;
    padding-top: 0px !important;
}

.form-group {
    margin-bottom: 0.5rem !important;
}

.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.custom-control-label::before,
.custom-file-label,
.custom-select {
    width: auto !important
}

.content-header {
    padding: 5px .5rem !important;
}

.card-header {
    padding: 0.5rem 1rem !important;
}

.btn {
    padding: .25rem .5rem !important;
}

.alert-danger ul {
    margin: 0px;
    padding: 0;
}

.alert-danger ul li {
    list-style: none;
}

form .form-control-md {
    width: 50% !important;
}
form .form-control-lx {
    width: 90% !important;
}

form .form-control-sm {
    width: 20% !important;
}

form .form-control-xs {
    width: 20% !important;
}

form .auto-width {
    width: auto !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: #000;
}
/*.select2-dropdown{
    width: 99% !important;
}*/
.change_letter{
    text-transform: lowercase !important;
}
.select2height{
height: calc(2.25rem + 2px) !important;
width: 99%;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 29px;
    position: absolute;
    top: 7px;
    right: 15px;
    width: 6px;
}
.select2-container .select2-selection--single {
    height: auto;
}
.content-wrapper {
    padding: 20px;
}
.elevation-4 {
    box-shadow: none !important;
}
body:not(.layout-fixed) .main-sidebar {
    height: none !important;
  }
 .errmsg{
    background-color: green;
    color: white;
 }
 .mr-50 {
    margin-right: 50px;
  }

.toggle-link {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}
.details-section {
    display: none;
    margin-top: 10px;
}
.no-list-style {
    list-style-type: none;
    padding-left: 0;
}
.info-icon-wrapper {
    position: relative;
    display: inline-block;
}

.info-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    background-color: #007BFF;
    color: white;
    font-size: 12px;
    cursor: pointer;
    margin-left: 5px;
}

.tooltip-text {
    visibility: hidden;
    width: max-content;
    max-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 8px 12px;
    border-radius: 6px;

    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);

    opacity: 0;
    transition: opacity 0.3s;
    white-space: normal;
    font-size: 14px;
    line-height: 1.6;
}


.info-icon-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.eye-toggle {
    cursor: pointer;
    height: 100%;    
}

.nav-sidebar>.nav-item>.nav-link.active {
    background-color: #B000B9 !important;
    color: #fff !important;
}

/* Increase Search box width */
.dataTables_filter input {
    width: 200px !important;  
}

/* Increase Pagination dropdown width */
.dataTables_length select {
    width: 55px !important; 
}



 .custom-alert {
        padding: 14px 20px;
        border-radius: 6px;
        margin-bottom: 24px;
        border: 1px solid transparent;
        font-size: 15px;
    }

    .custom-alert-danger {
        background-color: #db5858ff;
        color: #fdfdfdff;
        border-color: #f0d4d4;
        width: 100%;
        padding: 14px 20px;
        border-radius: 6px;
        margin-bottom: 24px;
        font-size: 15px;
    }

    .custom-alert-danger.scrollable {
        max-height: 300px;
        overflow-y: auto;
    }

    .custom-alert ul {
        margin: 0;
        padding-left: 20px;
    }

table#detailsList tbody tr td {
    font-weight: normal
}

.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input-wrapper input[type="file"] {
    padding-right: 35px;
}

.remove-file-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: red;
    font-size: 30px;
    display: none;
}

.save-button {
    background-color: #28a745!important;
    border-color: #28a745!important;
    color: #fff!important;
}
.save-button:hover {
    background-color: #34944a!important;
    border-color: #317a42!important;
    color: #fff !important;
}
#total_payment{
    font-weight: bold;
    font-size: 1.2rem !important;
}


.invoice-container {
   max-width: 100%;
   margin: 0 auto;
   padding: 15px;
   border: 1px solid #ccc;
   background: #fff;
}

.header {
   text-align: center;
   margin-bottom: 40px;
}
.header img {
   width: 100px;
   margin-bottom: 10px;
}
.header h1 {
   font-size: 28px;
   font-weight: 700;
   color: #222;
   margin-bottom: 6px;
}
.header p {
   font-size: 14px;
   color: #555;
   margin: 2px 0;
}





.invoice-info {
   margin-bottom: 25px;
   margin-left: 10px;
   font-size: 14px;
}
.invoice-info .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.invoice-info .col-info {
  flex: 0 0 48%;
}
.invoice-info strong {
   color: #000;
}

.table-responsive-wrapper {
   width: 100%;
}

.claimprint {
   border-collapse: collapse;
   font-size: 0.9em;
   width: 100%;
   table-layout: auto;
   margin: 0 auto;
   margin-bottom:2px;
}

.claimprint thead {
   background-color: #f9f9f9;
}

.claimprint th, .claimprint td {
   border: 1px solid #ccc;
   padding: 6px 8px;
   text-align: center;
   white-space: normal;
   overflow: visible;
   text-overflow: unset;
}

.claimprint tbody tr:nth-child(odd) {
   background-color: #fbfbfb;
}

@media (max-width: 991.98px) {
   .claimprint {
      table-layout: auto;
      font-size: 10px;
   }

   .claimprint th, .claimprint td {
      white-space: normal;
   }
}

@media print {
  @page {
    size: landscape;
    margin: 10mm;
  }

  body * {
    visibility: hidden;
  }

  .invoice-container, .invoice-container * {
    visibility: visible;
  }

  .invoice-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    background: #fff;
    padding: 5px !important;
    border: 1px solid black !important;
    box-shadow: none !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  .claimprint {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: auto !important;
    font-size: 10px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    text-align: left;
    margin-bottom:2px;
  }

  .claimprint th, .claimprint td {
    border: 1px solid black !important;
    padding: 3px 4px !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-align: left !important;
  }

  .no-print {
    display: none !important;
  }
}

.label-left {
  float: left;
  font-weight: 700;
}

.value-right {
  display: block;
  text-align: right;
}

.value-left {
  display: block;
  text-align: left;
}

.fixed-label {
        width: 200px;
        font-weight: bold;
}


/* ================= Invoice Info ================= */
.invoice-info-table {
   width: 100%;
   border-collapse: collapse;
   margin-bottom: 20px;
}

.invoice-info-table td.label {
   width: 15%;
   font-weight: bold;
   padding: 4px 1px;
   white-space: nowrap;
}

.invoice-info-table td.value {
   width: 35%;
   padding: 4px 1px;
   white-space: nowrap;
}

/* ================= Tables ================= */
.claimprint {
   width: 100%;
   border-collapse: collapse;
   margin-bottom: 10px;
}

.claimprint td {
   padding: 4px 6px;
   vertical-align: top;
}

/* ================= Utilities ================= */
.label-left {
   font-weight: bold;
   display: inline-block;
}

.value-right {
   float: right;
}

.section-heading {
   margin-bottom: 15px;
   border-bottom: 2px solid #212529;
   padding-bottom: 5px;
   color: #1a1b1dff;
}

.print-button {
   text-align: right;
   margin-top: 20px;
}

.header img {
   max-height: 80px;
   margin-bottom: 10px;
}

.header h1 {
   font-size: 24px;
   margin: 0;
}

.close {
    font-size: 40px;
    padding: 10px 20px;
}

.claim {
    white-space: nowrap;
    background-color: #f4f4f4;
    color: #333;
}

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

.text-left {
    text-align: right;
}

/* .btn-sm {
    font-size: 18px;
} */

body {
    font-size: 16px;
    margin: 0;
    padding: 0;
}


.btn-sm {
    font-size: 12px;
    padding: 0px 2px;
}

.small-box>.inner {
    padding: 19px !important;
}

@media (min-width: 768px) {
    body {
        font-size: 18px;
    }

    .container {
        width: 90%;
    }
}


@media (min-width: 1024px) {
    body {
        font-size: 20px;
    }

    .container {
        width: 80%;
    }
}


@media (min-width: 1440px) {
    body {
        font-size: 22px;
    }

    .container {
        width: 70%;
    }
}


.status_upcoming { 
    color: #007bff;
    font-weight: bold;
    text-align: center; 
}

.status_live { 
    color: green;
    font-weight: bold;
    text-align: center; 
}

.status_closed {
    color: #dc3545;
    font-weight: bold;
    text-align: center; 
}

.comment-cell {
    display: inline-block;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}


.text-success i, .text-danger i {
    margin-right: 5px;
}

.comment-cell:hover {
    cursor: pointer;
    text-decoration: underline;
}

.rating-card {
    border: 1px solid #f3b1bd !important;
    border-radius: 6px;
    margin-bottom: 10px;
}

.rating-card-header {
    background-color: #ffccd5 !important;
    color: #000 !important;
    font-weight: 400;
    padding: 6px 10px;
    border-bottom: 1px solid #f3b1bd;
}

.rating-card-body {
    padding: 6px 10px !important;
    font-size: 15px;
}

.ui-datepicker {
    z-index: 99999 !important;
}

.tox-tinymce,
.tox-editor-header {
    z-index: 1 !important;
}

.tox.tox-fullscreen {
    z-index: 9999 !important;
}


/* ============================
   POLL REPORT SPECIFIC STYLES
   ============================ */

.poll-report {
    font-family: Arial, sans-serif;
    background: #f5f6fa;
    padding: 20px;
}

/* Main Card */
.poll-report .card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

/* Card Body */
.poll-report .card-body {
    padding: 22px;
}

/* Question Card */
.poll-report .rating-card {
    border: 1px solid #f0c2f4;
    border-radius: 10px;
    margin-bottom: 18px;
    overflow: hidden;
}

/* Question Header */
.poll-report .rating-card-header {
    background: linear-gradient(90deg, #fde6ff, #f9d6ff);
    padding: 12px 16px;
    font-weight: 600;
    font-size: 15px;
    color: #6a0070;
    border-bottom: 1px solid #f2bdf6;
}

/* Question Body */
.poll-report .rating-card-body {
    padding: 16px;
}

/* Answer Row */
.poll-report .answer-row {
    background: #fafafa;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

/* Answer Header */
.poll-report .answer-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 500;
}

/* Vote Text */
.poll-report .answer-header span:last-child {
    color: #666;
    font-size: 13px;
}

/* Progress */
.poll-report .progress {
    width: 100%;
    height: 10px;
    background: #e6e6e6;
    border-radius: 20px;
    overflow: hidden;
}

/* Progress Bar */
.poll-report .progress-bar {
    height: 100%;
    background: #B000B9;
    border-radius: 20px;
    transition: width 0.4s ease-in-out;
}

/* Mobile Friendly */
@media (max-width: 768px) {
    .poll-report .answer-header {
        flex-direction: column;
        gap: 4px;
    }
}


.rating-card {
        border: 1px solid #f0c2f4;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
        overflow: hidden;
    }

    .rating-card-header {
        background: linear-gradient(90deg, #fde6ff, #f9d6ff);
        padding: 14px 18px;
        font-weight: 600;
        font-size: 15px;
        color: #6a0070;
        border-bottom: 1px solid #f2bdf6;
    }

    .rating-card-body {
        padding: 18px;
    }

    .answer-row {
        background: #fafafa;
        border-radius: 10px;
        padding: 14px 16px;
    }

    .answer-header {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .answer-header small {
        font-size: 13px;
    }

    .progress {
        height: 12px;
        border-radius: 12px;
        background-color: #ececec;
        overflow: hidden;
    }

    .progress-bar {
        background-color: #b285b4 !important;
        border-radius: 12px;
        transition: width 0.6s ease-in-out;
    }

    .fa-star,
    .fa-star-half-alt {
        font-size: 16px;
        margin-right: 2px;
    }



    .dropzone-custom {
    border: 2px dashed #007bff;
    border-radius: 8px;
    background: #f4f6f9;
    padding: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.dropzone-custom.dragover {
    background: #e9f2ff;
}

.dz-icon {
    font-size: 50px;
    color: #007bff;
}

.preview-container {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.preview-box {
    position: relative;
    width: 110px;
    height: 110px;
}

.preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ccc;
    cursor: pointer;
}

.remove-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    background: red;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-size: 14px;
}

/* Modal */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease-in-out;
}

.image-modal.show {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



.note-editor.note-frame.fullscreen,
.note-editor.fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    background: #ffffff !important;
}

.note-editor.fullscreen .note-editable {
    height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
}

.note-editor.fullscreen .note-toolbar {
    position: sticky;
    top: 0;
    z-index: 9999;
}

.content-wrapper,
.main-content,
.card,
.panel,
.modal {
    overflow: visible !important;
}

.note-editor .note-editable span {
    color: inherit;
}

.note-editor .note-color .dropdown-menu {
    width: 260px;
}


.note-editable table {
    width:100%;
    border-collapse:collapse;
}

.note-editable table td,
.note-editable table th{
    border:1px solid #ccc;
    padding:8px;
}

.note-editable table th{
    background:#f5f5f5;
}