body {
	background-color: #2a2a31;
	color: #ddd; 
	font-family: Verdana;
	margin: 0;
	font-size: 16px;
}

a {
    color: #ddd;
}


a.action-link {
	text-decoration: underline;
}

a.action-link:hover {
	color: orange;
	cursor: pointer;
}


h2.yellow {
	color: rgb(246, 218, 110);
}

h2.red {
	color: rgb(255, 72, 97);
}

.login_page {
	margin-top: 60px;
}

.login_page .header  {
	width: 50%;
	margin: auto;	
}

.float-left {
	float: left;	
}

.box {
    padding: 25px;
    margin-left: 12px;
    background-color: #232329;
    border-radius: 10px;
}

.login.box {
	width: 50%;
	margin: auto;
}

.input_field {
    width: 300px;
    padding: 15px;
}

.input_field label {
    width: 95px;
    display: inline-block;
}

.styled_button {
	padding: 5px;
    width: 70px;
}

input {
	padding: 5px;
}

.main {
    margin-top: 70px;
}


/** END MAIN PAGE */

/** TOP BAR */

.topbar {
	position: fixed;
    padding: 8px 8px 0px 17px;
    width: 100%;
    top: 1px;
    min-height: 50px;
    z-index: 101;
    background-color: #3b4449;
    margin: auto;
    font-size: 20px;
}

.top-bar-menu div {
    display: inline-block;
    padding: 10px 18px;
}

/** Sales Info Section */
.sales-info-section {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.sales-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.sales-info-item label {
    font-size: 12px;
    color: #999;
    font-weight: normal;
    margin: 0;
}

.sales-info-item span {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

.logout-section {
	float: right;
    margin-right: 20px;
    position: relative;
}

/** User Avatar Button */
.user-avatar-btn {
    background-color: #5a6c7d;
    border: 2px solid #7a8c9d;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    padding: 0;
    margin-top: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.user-avatar-btn:hover {
    background-color: #6a7c8d;
    border-color: #9aacbd;
}

.user-avatar-btn:active, .user-avatar-btn.active {
    background-color: #4a5c6d;
}

.user-initials {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/** User Dropdown Menu */
.user-dropdown-menu {
    position: absolute;
    top: 55px;
    right: 0;
    background-color: #232329;
    border: 2px solid #7a8c9d;
    border-radius: 8px;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-dropdown-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 12px 15px;
    color: #ddd;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-divider {
    height: 1px;
    background-color: #5a6c7d;
    margin: 0;
}

.user-dropdown-item {
    display: block;
    padding: 12px 15px;
    color: #ddd;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #5a6c7d;
    font-size: 14px;
}

.user-dropdown-item:last-child {
    border-bottom: none;
}

.user-dropdown-item:hover {
    background-color: #3a3a40;
    color: #fff;
}

th.sorting:hover {
    background-color: #8080805e;
}

.top-bar-menu div:hover {
    background-color: gray;
    cursor: pointer;
    border-radius: 2px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.top-bar-menu div a {
	text-decoration: none;
}

.top-bar-menu div.active {
    background-color: #2a2a31;
    color: orange;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.top-bar-menu div.active:hover {
    background-color: #2a2a31;
    cursor: default;
}

.top-bar-menu {
	float: left;
	display: inline;
}

/** END TOP BAR */

/** INVENTORY */

.side-panel {
	float: left;
    height: 90%;
    width: 100%;
    background-color: #232329;
    margin-top: 0px;
    border-radius: 0 10px 10px 0;
}

.search-filters {
    margin-bottom: 15px;
    border-bottom: 1px solid gray;
    padding-bottom: 15px;
}

.search-filters .bi-search {
    border: none;
    padding-left: 12px;
    font-size: 25px;
    height: 10px;
}

.search-filters .twitter-typeahead {
	width: 50%;
}

.search-filters input:focus {
  	color: #0303fb !important;
    /* background-color: #fbfb48fa; */
    background-color: rgb(246, 218, 110) !important;
}

.filter-box label {
    margin-right: 12px;
}

.filter-box input {
    width: 350px;
    padding: 7px;
}

.search-result {
	border-collapse: collapse;
    text-align: left;
    width: 100%;
    font-size: 14px;
}

.search-result td, .search-result th {
	padding: 18px;
}

.search-result th {
	padding: 10px 18px;
}

.search-result th {
    font-weight: 600;
}

.command_link {
    font-size: 11px;
}

.command-component .command_link {
    font-size: 15px;
}

a:hover, .command-component *:hover {
	color: rgb(246, 218, 110) !important;
	cursor: pointer;
}

.store-info {
    margin: 26px;
}

.side-panel ul {
    margin-left: -33px;
    margin-top: 25px;
}

.side-panel ul li {
    padding: 10px 20px;
    list-style: none;
    margin-bottom: 3px;
    width: 100%;
    border-left: 2px solid #232329;
}

.side-panel ul li:hover {
  	background-color: #2a2a31;
  	cursor: pointer;
  	border-left: 2px solid rgb(246, 218, 110);
}

.side-panel ul li.active {
    background-color: #2a2a31;
    border-bottom: 2px solid #4c4646;
}

table.dataTable tbody tr td {
	padding: 20px;
}

tbody tr.odd {
	background-color: #35353e !important;
}

tbody tr.even {
	background-color: #2a2a31 !important;
}

.search-actions {
	height: 62px;
    display: inline-block;
    margin-bottom: 12px;
    width: 77%;
    display: inline-block;
    margin-left: 13px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 19px;
}

.search-actions .command-component {
	float: right;
    padding: 15px;
    margin-top: 7px;
}

.modal-title {
	color: #232329;
}

.select-field label {
    margin-top: -47px;
}

.side-bar-information {
	float: left;
    margin-top: 0px;
    width: 15%;
}

#products-table {
	width: 70%;
}

.store-info .store-value {
    display: block;
    font-size: 30px;
    font-weight: bold;
}

.dataTables_length, .dataTables_length select, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate, .dataTables_filter input {
    color: #ddd !important;
}

.form-group label {
	color: #232329
}

.gain-indicator {
	background-color: #19db1957;
}

.loss-indicator {
	background-color: #ff00008a;
}

.modal-two-panel-control {
	clear: both;
}

/* .modal-dialog {
    max-width: 750px !important;
}

.modal-dialog-medium {
    max-width: 550px !important;
}
 */
 
.modal-body {
    color: #232329;
}

.new-stock-in-store {
	width: 140px;
    float: right;
    margin-top: -9px;
    margin-bottom: 10px;
}

.pos {
    width: 85%;
    margin: 0 auto;
    margin-top: 70px;
}

.pos #pos-left-column {
	float: left;
 	width: 25%;
}

.pos .products-in-cart {
	width: 95%;
} 

.pos .products-in-cart .action-order {
	cursor: pointer;
}

.pos .products-in-cart .action-order:hover {
	text-decoration: underline;
	color: orange;
}

.pos .sale-actions {
	margin-top: 15px;
}

.pos .sale-summary {
	
}

.pos .sale-summary .box {
	border: 3px solid transparent;
  	transition: border-color 0.3s ease;
}

.pos .sale-summary .box.flash-update {
  animation: border-pulse 1.5s ease-out;
}

@keyframes border-pulse {
  0%   { border-color: #FF7A45; } /* tangerine */
  100% { border-color: transparent; }
}

@keyframes breathe {
  0%, 100% { border-color: #FF7A45; }
  50% { border-color: #F6F7F9; }
}

.pos .sale-summary .box {
  position: relative;
  border: 2px solid transparent;
  background: #252421;
  background-clip: padding-box;
  color: #fff;
}

.box.processing::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--angle),
    #FF7A45, #FFD700, #2ECC71, #5DADE2, #E74C3C, #FF7A45
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotate-glow 3s linear infinite;
  z-index: -1;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotate-glow {
  to { --angle: 360deg; }
}

.pos .sale-summary .box.syncing {
  animation: breathe 1.5s ease-in-out infinite;
}


.pos .sale-summary ul {
	list-style: none;
}

.pos .sale-commands {
	display: block;
}

.pos .sale-commands .command-component {
    padding: 10px;
}

.products-checkout {
	height: 70%;
	float: left;
    width: 75%;
}

.products-checkout .box {
	width: 100%;
}

.clear-both {
	clear: both;
	height: 0px;
}

.sale-summary .box {
	background-color: whitesmoke;
	color: #232329;
}

.summary-details h3 {
	padding-bottom: 4px;
	border-bottom: 2px solid #ef8a33;
}

.summary-detail {
    padding: 5px;
    text-align: left;
}

.total-items-in-cart {
	/* float: left;
	margin-left: 1%; */
}

.total-amount {
/* 	float: right;
	margin-right: 13%; */
}

.summary-detail span {
	font-size: 20px;
}

.summary-detail label {
	width: 50%;
	display: inline-block;
}

.summary-action {
	padding-top: 19px;
    float: left;
    margin-left: 40px;
}

.w-80 {
	width: 80%;
}

.error-message {
	color:#a94442;
	background-color:#f2dede;
	border:1px solid #ebccd1;
	padding:10px;
	margin-bottom:10px;
	border-radius:4px;
}
