/* front end */
.header-top {
    background-color: #1b0303be; /* Light dark (dark gray) */
    color: white; /* Text color */
    padding: 8px 0; /* Adjust padding as needed */
}

.header-top a {
    color: white; /* Links in white */
    text-decoration: none; /* Optional: Remove underline */
}

.header-top a:hover {
    color: #f1f1f1; /* Slightly lighter on hover */
}

/* Social media icons (adjust if needed) */
.header-top .fa {
    color: white;
    font-size: 16px; /* Icon size */
}

.header-top .fa:hover {
    opacity: 0.8;
}

.comment {
    padding-top: 3px;
    padding-bottom: 10px;
}

.comment-head, .comment-body {
    display: block;
}

comment-body {
    color: black;
}


#shareDialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  z-index: 1000;
  width: 400px;
  max-width: 90%;
}

.share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.close-button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0 10px;
}

.close-button:hover {
  color: #000;
}

#shareUrl, #embedCode {
  width: 100%;
  padding: 8px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  padding: 8px 15px;
  background: #4285f4;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 5px;
}

button:hover {
  background: #3367d6;
}

.social-share {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.social-share a {
  display: inline-block;
  margin: 5px;
  padding: 8px 12px;
  background: #eee;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

.social-share a:hover {
  opacity: 0.8;
}

.facebook-share { background: #3b5998 !important; color: white !important; }
.twitter-share { background: #1da1f2 !important; color: white !important; }
.linkedin-share { background: #0077b5 !important; color: white !important; }
.whatsapp-share { background: #25D366 !important; color: white !important; }

/* end of front end */

#search-nav {
    max-width: 450px;
}

.full-width {
    width: 100% !important;
}

.nav-sub-item1 {
    padding-left: 20px;
    padding-right: 0px;
    font-size: 0.73em;
    color: red;
}

.nav-sub-item2 {
    padding-left: 30px;
    padding-right: 0px;
}

.sidebar .nav-collapse li a .sub-item {
    margin-left: 10px ! important;
}

.sidebar .nav-collapse li a .sub-item:before {
    content: '';
    height: 0px ! important ;
    width: 0px!important ;
    background: rgba(131, 132, 138, 0.89);
    position: absolute;
    left: -20px ! important ;
    top: 50% ! important ;
    transform: translateY(-50%);
    border-radius: 100%;
}

.message-notif-scroll.scrollbar-outer .notif-center a .notif-profile  {
    height: 100% !important;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: all !important;
}

.selected-profile {
    color:white;
}

/* fix Input group icon size */
.input-group {
    flex-wrap: nowrap;
}

.input-group-prepend {
    width : auto;
}

.input-group-prepend label {
    width: 100%;
    overflow: hidden;
}

.input-group-append > .input-group-icon {
    width : 100%;
    vertical-align: central;
    padding-left: 5px;
}

.title-icon {
    padding-right: 5px;
    color:blue;
}

.form-left-icon {
    color:blue;
}

.button-icon {
    font-size:12px;
    padding-right: 10px;
}

.image-icon {
    width: 128px !important;
    height: 128px !important;
}

.paddingTop {
    padding-top: 5px;
}

td.image-icon {
    width: 128px !important;
}

td.status-disable {
    color: rgba(255, 0, 0, 0.582) !important;
}
td.status-active {
    color: rgba(62, 100, 62, 0.889) !important;
}

/* form error message */
.form-group ul.has-error {
    padding-left: 0px;
}
.form-group ul.has-error li {
    color:red;
    font-size: 10px;
    list-style: none;
}
.form-group input.has-error {
    border-color: red;
}

td ul.has-error {
    padding-left: 0px;
}
td ul.has-error li {
    color:red;
    font-size: 10px;
    list-style: none;
}
/* form error message end */

.form-group .text-area {
    white-space: pre-line;
}

.form-group select {
    padding-top: 5px;
}

.form-group.form-group-default label:not(.btn) {
    color:blueviolet!important;
    text-transform: capitalize !important;
}

.form-group.form-group-default.popup {
    overflow: visible;
}

.form-group.form-group-default.edit {
    border: 1px solid #35cd3a !important;
    color: greenyellow;
}

.form-check-default {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 4px;
    margin-top: 10px;
    padding-top: 7px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 4px;
    overflow: hidden;
    width: 100%;
    -webkit-transition: background-color .2s ease;
    transition: background-color .2s ease;
    margin-bottom: 15px;
}
.form-check {
    padding-top: 5px;
    padding-left: 30px;
    padding-right: 12px;
    padding-bottom: 2px;
}

.imageTopRight {
    position: absolute;
    right: 10px;
    top: 10px;
    transform: translate(50%,-50%);
    z-index: 100;
}

/* form input type = file */
.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

/*
.inputfile + label1 {
font-size: 1.25em;
font-weight: 700;
color: white;
background-color: black;
display: inline-block;
}
*/
.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;
}

.image_src {
    max-height: 500px; /* Restrict height to 500px */
    width: auto; /* Let the width adjust automatically */
    display: block; /* Ensure the image behaves as a block element */
    margin: 0 auto; /* Center the image horizontally */
}

#imagePreview {
    max-width: 100%;
    max-height: 400px;
    margin-top: 20px;
    display: none;
}


.upload-container {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s;
}
.upload-container.highlight {
    border-color: #4CAF50;
    background-color: #f8f8f8;
}
#filePreview {
    max-width: 100%;
    max-height: 400px;
    margin-top: 20px;
    display: none;
}
#pdfPreview {
    width: 100%;
    height: 500px;
    border: 1px solid #ddd;
    margin-top: 20px;
    display: none;
}
/* button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}
button:hover {
    background-color: #45a049;
} */
.status {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
}
.success {
    background-color: #dff0d8;
    color: #3c763d;
}
.error {
    background-color: #f2dede;
    color: #a94442;
}
.file-info {
    margin-top: 15px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
}

/* end of form input type = file */

optgroup + [label] {
    color: red;
}

option {
    color: blue;
}

/*
file manager
*/
#file-manager h1 i {
    font-size: 36px;
    padding: 5px;
}

#file-manager h3 {
    padding: 5px;
}

.folder-box {
    position: relative;
    border: 1px;
    border-style: solid;
    width: 100%;
    height: 100%;
    min-width: 100px;
    min-height: 50px;
}

.file-box {
    position: relative;
    border: 1px;
    border-style: solid;
    width: 100%;
    height: 100%;
    min-width: 100px;
    min-height: 100px;
}

.folder-box .checkbox {
    position: absolute;
    left: 5px;
    bottom: 5px;
    margin: 0; /* Remove default margins */
}

.file-box .checkbox {
    position: absolute;
    left: 5px;
    bottom: 5px;
    margin: 0; /* Remove default margins */
}

.fitImage {
    width: 100%;
    height: 100%;
    max-width: 100px;
    max-height: 100px;
}

/*
shark last column of table
*/
.table td.fit,
.table th.fit {
    white-space: nowrap;
    width: 1%;
}
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #cce7e8;
}

.table td .btn-link,
.table th .btn-link {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
}

.table .table-primary td, 
.table .table-primary th,
.table .table-success td, 
.table .table-success th,
.table .table-info td, 
.table .table-info th {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}


td .upload {
    cursor: pointer; /* "hand" cursor */
}


/*
azzara
*/
.notif-center a .notif-profile {
    display: inline-flex;
    height: 40px;
    margin: 10px;
    align-items: center;
    justify-content: center;
}

/* table head background states*/
.table-foot-bg-default tfoot {
    border: 1px solid #282a3c !important;
}

.table-foot-bg-primary tfoot {
    border: 1px solid #177dff !important;
}

.table-foot-bg-secondary tfoot {
    border: 1px solid #716aca !important;
}

.table-foot-bg-info tfoot {
    border: 1px solid #36a3f7 !important;
}

.table-foot-bg-success tfoot {
    border: 1px solid #35cd3a !important;
}

.table-foot-bg-warning tfoot {
    border: 1px solid #ffa534 !important;
}

.table-foot-bg-danger tfoot {
    border: 1px solid #f3545d !important;
}

.table-foot-bg-default tfoot th {
    background: #282a3c !important;
    color: #ffffff !important;
    border: 0px !important;
}

.table-foot-bg-primary tfoot th {
    background: #177dff !important;
    color: #ffffff !important;
    border: 0px !important;
}

.table-foot-bg-secondary tfoot th {
    background: #716aca !important;
    color: #ffffff !important;
    border: 0px !important;
}

.table-foot-bg-info tfoot th {
    background: #36a3f7 !important;
    color: #ffffff !important;
    border: 0px !important;
}

.table-foot-bg-success tfoot th {
    background: #35cd3a !important;
    color: #ffffff !important;
    border: 0px !important;
}

.table-foot-bg-warning tfoot th {
    background: #ffa534 !important;
    color: #ffffff !important;
    border: 0px !important;
}

.table-foot-bg-danger tfoot th {
    background: #f3545d !important;
    color: #ffffff !important;
    border: 0px !important;
}

/*
sales detail table
*/
tr th.date, tr td .date {
    text-align: center;
    min-width:95px;
}
tr th.code, tr td .code {
    min-width:100px;
}
tr th.productName, tr td .productName {
    min-width:250px;
}
tr th.number, tr td .number {
    width:130px;
    min-width:130px;
    max-width:130px;
    text-align: center;
}
tr th.total, tr td .total {
    width:80px;
    min-width:80px;
    max-width:80px;
    text-align: center;
}

tr th.seq, tr td .seq {
    width:55px;
    text-align: center;
}

table tr td.vertical-align-top {
    vertical-align: top;
}

td.print-top {
    border: 1px solid #35cd3a !important;
    text-align: right;
    font-style: oblique;
    border-style: hidden;
}

table.print tr td.higher {
    line-height: 1.5;
}
table.print {
    width: 100%;
}

table.print tr td.vertical-center {
    vertical-align: middle;
}

table.print.border,
table.print tr.border,
table.print tr td.border {
    border: 1px solid black !important;
}

table.print tr.border_bottom,
table.print tr td.border_bottom,
.border_bottom {
    border-bottom: 1px solid black !important;
}

table.print tr.border_left,
table.print tr td.border_left {
    border-left: 1px solid black !important;
}

table.print tr.border_right,
table.print tr td.border_right {
    border-right: 1px solid black !important;
}

table.print tr.border_top,
table.print tr td.border_top {
    border-top: 1px solid black !important;
}

table.print tr.border_underline2,
table.print tr td.border_underline2 {
    border-bottom: 1px solid black !important;
    border-style: double !important;
}

table.print tr.under-line2,
table.print tr td.under-line2 {
    border-bottom: 1px !important;
    border-style: double !important;
}

table.print .padding {
    padding: 10px;
}
table.print .padding-left {
    padding-left: 10px;
}
table.print .padding-top  {
    padding-top: 10px;
}
table.print .padding-right {
    padding-right: 10px;
}
table.print .padding-bottom {
    padding-bottom: 10px;
}

table.print tr td, table.print tr th {
    color: black !important;
}

table.print tr td {
    font-size: 14 !important;
}
