@font-face {
  font-family: "Quickly";
  src: url("../assets/fonts/Quickly.ttf") format("truetype");
}
@font-face {
  font-family: "Quickly-Bold";
  src: url("../assets/fonts/Quickly-Bold.ttf") format("truetype");
}

*,
*::after,
*::before {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  cursor: default;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-y: hidden;
  touch-action: manipulation;
  font-family: Quickly, "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  background-color: #2b3e50;
  color: #ebebeb;
}

#appHolder {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==================== NAVBAR (AUTHENTIC QUICKLY THEME STYLING) ==================== */
#navBar {
  background-color: transparent;
}

nav.navbar,
#navBar nav {
  height: 56px !important;
  background-color: transparent !important;
  flex-shrink: 0;
  -webkit-app-region: drag;
  padding: 0.5rem 1rem;
}

nav.navbar.quickly-color,
.quickly-color {
  background-color: transparent !important;
}

nav a,
nav form,
nav button,
nav :after,
nav :before {
  -webkit-app-region: no-drag;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  cursor: pointer;
}

.navbar-brand {
  display: inline-block;
  min-height: auto;
  padding: 0;
  margin-right: 1.5rem;
}

.navbar-brand img {
  height: 42px;
  margin-top: 15px;
}

@media (max-width: 575px) {
  nav.navbar,
  #navBar nav {
    height: 48px !important;
  }
  .navbar-brand {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .navbar-brand img {
    height: 32px !important;
    margin-top: 0 !important;
  }
  .form-inline {
    font-size: 12px;
    white-space: nowrap;
  }
  .form-inline span {
    margin-right: 0.25rem !important;
  }
  .form-inline .fa {
    margin-right: 0.25rem !important;
  }
}

#mainHolder {
  flex: 1;
  position: relative;
  overflow: hidden;
  padding: 10px 15px 0 15px;
}

#routerHolder {
  height: calc(100vh - 70px);
}

.view-section {
  display: none;
  height: 100%;
}
.view-section.active {
  display: block;
}

/* Common Heights */
.full-height {
  height: 88.4vh;
}
.inside-height {
  height: 79vh;
}
.tab-height {
  height: 61vh;
}
.tab-inside-height {
  height: 62vh;
}

.dark-bg {
  background-color: #1b2731 !important;
}

.text-quickly {
  color: #312783 !important;
}

.animated {
  animation-duration: 0.3s;
  animation-fill-mode: both;
}

.input-group-prepend .input-group-text {
  width: 150px;
  font-weight: bolder;
}
.input-group-append .input-group-text {
  min-width: 50px;
}
.input-group-prepend.normal .input-group-text,
.normal {
  width: auto !important;
}

.list-group-item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
  font-weight: bolder;
  cursor: pointer;
}

.navbar-dark .navbar-nav .nav-link {
  font-weight: bolder;
  font-size: 1.15rem;
  padding-left: 1rem;
  padding-right: 1rem;
  cursor: pointer;
}
.navbar-dark .navbar-nav .nav-link.active {
  color: #df691a !important;
}

.form-control {
  background-color: rgb(230, 230, 230);
  color: #2b3e50;
  font-weight: bold;
}
.form-control:focus {
  background-color: #fff;
  color: #1b2731;
}

input[readonly] {
  color: white !important;
  background-color: #4e5d6c !important;
}

.input-group {
  box-shadow: 1px 1px 4px rgb(22, 31, 40);
}
.btn {
  box-shadow: 1px 1px 4px rgba(60, 58, 58, 0.48);
  font-weight: bolder;
  cursor: pointer;
}
.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

/* Card Styles */
.tableCard {
  box-shadow: 1px 1px 4px rgb(43, 62, 80);
  height: 13.5vh;
  cursor: pointer;
  transition: transform 0.15s ease-in-out;
}
.tableCard:hover {
  transform: scale(1.02);
}
.tableCard h1 {
  font-weight: 600;
  font-size: 2.2vw;
  margin-bottom: 0.25rem;
}
.tableCard h4 {
  font-weight: 600;
}
.tableCard p {
  margin: 0;
}
.tableCard .long-name {
  font-size: 1.6vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
}
.tableCard .tableInfo {
  position: absolute;
  bottom: 5px;
  width: 85%;
  font-weight: bold;
}
.tableCard .card-text {
  bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catCard {
  background-color: #2b3e50;
  color: #1dda46;
  height: 7.5vw;
  min-height: 80px;
  box-shadow: 1px 1px 4px rgba(60, 58, 58, 0.48);
  cursor: pointer;
  transition: background-color 0.15s;
}
.catCard .card-body {
  padding: 0.5rem;
  display: flex;
  align-items: center;
}
.catCard h2 {
  font-size: 1.7vw;
  font-weight: 900;
  white-space: pre-wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
  margin-bottom: 0;
  width: 100%;
}
.catCard:hover {
  background-color: #000;
  box-shadow: none;
}

.proCard {
  background-color: #2b3e50;
  color: #f0ad4e;
  height: 7.5vw;
  min-height: 80px;
  box-shadow: 1px 1px 4px rgba(60, 58, 58, 0.48);
  cursor: pointer;
  transition: background-color 0.15s;
  position: relative;
}
.proCard .card-body {
  padding: 0.5rem;
}
.proCard h2 {
  font-size: 1.4vw;
  font-weight: 900;
  white-space: pre-wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
  margin-bottom: 0;
}
.proCard .long-name {
  font-size: 1.15vw;
}
.proCard p.card-text {
  position: absolute;
  bottom: 4px;
  width: 90%;
  font-size: 1.1vw;
  font-weight: bolder;
  margin: 0;
}
.proCard p.card-text .price {
  float: left;
  color: #d9534f;
}
.proCard p.card-text .category {
  float: right;
  font-size: 9px;
  color: #fff;
}
.proCard:hover {
  background-color: #000;
  box-shadow: none;
}

/* Home Main Cards */
.mainCard {
  min-height: 40vh;
  padding: 2vh;
  overflow: hidden;
  box-shadow: 1px 1px 3px rgba(60, 58, 58, 0.6);
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: 6px;
}
.mainCard:hover {
  transform: scale(1.02);
}
.mainCard p {
  position: relative;
  left: -5px;
  top: -5px;
  font-size: 3.5vw;
  font-weight: bold;
  margin: 0;
  z-index: 2;
}
.mainCard:before {
  position: absolute;
  font-family: "FontAwesome";
  font-size: 280px !important;
  bottom: -60px;
  right: -75px;
  opacity: 0.35;
  transform: rotate(-45deg);
  z-index: 1;
}
.mainCard.store:before {
  content: "\f000";
}
.mainCard.cashbox:before {
  content: "\f0d6";
}
.mainCard.endoftheday:before {
  font-size: 300px !important;
  content: "\f017";
}
.mainCard.reports:before {
  content: "\f200";
}
.mainCard.settings:before {
  content: "\f085";
}
.mainCard.exit:before {
  content: "\f08b";
}

/* ==================== GLOBAL & SUB-CATEGORY NAV TABS STYLING ==================== */
.nav-tabs {
  border-bottom: 1px solid #43505e;
}
.nav-tabs .nav-item {
  margin-bottom: -1px;
}
.nav-tabs .nav-link {
  color: #ebebeb;
  cursor: pointer;
  border-radius: 2px 2px 0 0;
  border: 1px solid transparent;
  transition: all 0.15s ease-in-out;
}
.nav-tabs .nav-link:hover {
  border-color: #43505e #43505e transparent;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.03);
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link,
.nav-tabs.nav-justified .nav-link.active,
.nav-tabs.nav-justified .nav-item.show .nav-link {
  background-color: #4e5d6c !important;
  border-color: #43505e #43505e #4e5d6c !important;
  border-bottom-color: #4e5d6c !important;
  color: #ffffff !important;
  font-weight: bold !important;
}
.nav-tabs .nav-link.disabled,
.nav-tabs.nav-justified .nav-link.disabled {
  color: rgba(255, 255, 255, 0.35) !important;
  background-color: transparent !important;
  border-color: transparent !important;
  border-bottom: 1px solid #43505e !important;
  cursor: not-allowed !important;
  opacity: 0.5;
}

/* Store View Tabs (Masalar / Hesaplar) */
#view-store .nav-tabs .nav-link {
  font-size: 1.4vw;
  font-weight: bolder;
  padding: 0.5rem 1.25rem;
}
#view-store .nav-tabs .badge {
  font-size: 12px;
  border-radius: 2px;
  padding: 3px 6px;
  vertical-align: middle;
}

/* Settings and Reports Sub-Category Tabs */
#view-settings .nav-tabs .nav-link,
#view-reports .nav-tabs .nav-link,
.nav-tabs.nav-justified .nav-link {
  font-size: 1.05rem;
  font-weight: bold;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#view-settings .nav-tabs .nav-link i,
#view-reports .nav-tabs .nav-link i,
.nav-tabs.nav-justified .nav-link i {
  margin-right: 8px;
}

/* Seamless connection between active tab and the card below */
.card.ntb {
  border-top: 0 !important;
}
.card.ntb > .card-header,
#view-settings .card.ntb > .card-header,
#view-reports .card.ntb > .card-header {
  background-color: #4e5d6c !important;
  border-top: 0 !important;
  border-bottom: 1px solid #43505e !important;
}

/* Scrollbars & Flow */
.flow {
  overflow-y: scroll;
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #5b6977;
}
::-webkit-scrollbar-thumb {
  background: #888;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.col-card {
  padding-right: 5px !important;
  padding-left: 5px !important;
}

.table-name {
  font-weight: bolder;
  font-size: 1.8rem;
  span {
    vertical-align: middle;
    font-size: 1.1rem;
  }
}

/* Check flow & products */
.check-flow {
  overflow-y: scroll;
  overflow-x: hidden;
}
.check-product {
  font-weight: bolder;
  border-bottom: 0.5px dashed #87919b;
  margin-bottom: 0.1rem;
  font-size: 14px;
  cursor: pointer;
}
.check-product .product-name {
  display: inline-block;
  width: 68% !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
}
.check-product .product-price {
  float: right;
  text-align: right;
  width: 30% !important;
}

.check-card {
  height: 288px;
  margin-bottom: 5px;
}
.check-card .card-header span.float-left {
  width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.check-card .card-body {
  height: 200px;
  overflow: hidden;
}

/* Kroki Map */
#plan {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: auto;
}
.relativeTable {
  position: absolute !important;
  box-shadow: 1px 1px 4px rgb(43, 62, 80);
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.1s;
}
.relativeTable:hover {
  transform: scale(1.04);
}
.absTableInfo {
  margin-top: 10px;
  bottom: 4px;
  width: 100%;
  font-size: 13px;
  font-weight: bold;
}

#floorHolder .card {
  height: 68px;
  cursor: pointer;
}
#floorHolder .card-body {
  padding: 0.75rem;
}
#floorHolder h2 {
  font-size: 1.5vw;
  font-weight: bolder;
  text-transform: capitalize;
}

/* Selling Screen Action Buttons */
.sellButton,
.sendButton {
  font-family: Quickly, sans-serif;
  margin-bottom: 3.8px;
  margin-top: 0px;
  padding: 10px 0;
  color: #000;
  text-decoration: wavy;
  cursor: pointer;
}
.sendButton i {
  font-size: 5vh;
}
.sendButton p {
  font-size: 13px;
  margin: 0px !important;
  font-weight: bold;
}
.sendButton[disabled],
.sellButton[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.catButton {
  padding-top: 3px !important;
  font-weight: bold;
  white-space: pre-line;
  font-size: 1.2vw;
  height: 48px;
  text-align: start;
}
.humanIcon {
  font-size: 17px !important;
}

/* Variant / Specifies Modal Styles */
.btn-specs {
  padding: 22px 15px;
  font-weight: bolder;
  font-size: 26px;
  text-transform: capitalize;
  border-radius: 6px;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.btn-specs:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.btn-specs .spec-price {
  font-size: 20px;
  color: #8a5f25;
  margin-left: 5px;
}

/* Payment Screen */
.cashButton {
  height: 100px;
  margin-bottom: 6px;
  font-size: 3.5vh;
  font-weight: bold;
  cursor: pointer;
}

.will-pay {
  font-size: 1.6vw;
}

.numpad {
  font-weight: 900;
  font-size: 26px;
  padding: 6px;
  cursor: pointer;
}

/* Banknotes Colors */
.ikiyuzTL {
  background-color: #d65f84 !important;
  color: #162c5b !important;
  -webkit-text-stroke: #ebebeb 1px;
}
.yuzTL {
  background-color: #83a8d4 !important;
  color: #163d82 !important;
  -webkit-text-stroke: #ebebeb 1px;
}
.elliTL {
  background-color: #f7d0a7 !important;
  color: #e04e3c !important;
  -webkit-text-stroke: #ebebeb 1px;
}
.yirmiTL {
  background-color: #bfcbab !important;
  color: #3c5c1d !important;
  -webkit-text-stroke: #ebebeb 1px;
}
.onTL {
  background-color: #efa2b6 !important;
  color: #d84861 !important;
  -webkit-text-stroke: #ebebeb 1px;
}
.besTL {
  background-color: #eed9c1 !important;
  color: #85453b !important;
  -webkit-text-stroke: #ebebeb 1px;
}

.btn-discount {
  padding: 15px;
  font-size: 3.5vh !important;
  font-weight: bold;
}

/* Color Utilities */
.bg-orange { background-color: #df691a !important; }
.bg-indigo { background-color: #6610f2 !important; }
.bg-purple { background-color: #6f42c1 !important; }
.bg-pink   { background-color: #e83e8c !important; }
.bg-red    { background-color: #d9534f !important; }
.bg-yellow { background-color: #f0ad4e !important; }
.bg-green  { background-color: #5cb85c !important; }
.bg-teal   { background-color: #20c997 !important; }
.bg-cyan   { background-color: #5bc0de !important; }
.bg-dark   { background-color: #1b2731 !important; }
.bg-oil    { background-color: #2b3e50 !important; }
.bg-dark-gray { background-color: #4e5d6c !important; }
.bg-gray   { background-color: #5b6977 !important; }
.bg-white  { background-color: #ffffff !important; }

.color-white { color: #ffffff !important; }
.color-yellow { color: #f0ad4e !important; }

/* Virtual Touch Keyboard */
.on-keyboard {
  position: fixed;
  width: 100vw;
  bottom: 0px;
  left: 0;
  padding: 15px;
  z-index: 9999999;
  background-color: #2b3e50;
  animation-duration: 0.3s;
  box-shadow: 0px -2px 10px 0px rgba(0, 0, 0, 0.4);
}
.key {
  height: 8vh;
  margin: 0.4vh;
  width: 8vh;
  font-size: 1.8rem;
  font-weight: bold;
}
.space {
  height: 8vh;
  margin: 0.4vh;
  width: 80vh;
  font-size: 1.8rem;
}
.inputKey {
  height: 8vh;
  margin-bottom: 0.5vh;
  margin-left: auto;
  margin-right: auto;
  width: 80vh;
  font-size: 2rem;
}
.numb {
  width: 25vh !important;
}

/* Login Screen (Exact quickly-desktop styles) */
#app-logo {
  height: 350px;
}
#login-holder {
  margin-top: 17vh;
}
.login-buttons-holder {
  width: 50vh;
  margin-left: auto;
  margin-right: auto;
}
.login-button {
  height: 12vh;
  width: 12vh;
  margin: 5px;
  font-size: 30px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.clear-button {
  height: 12vh;
  width: 12vh;
  margin: 5px;
  border: none;
}
#pincodeHolder {
  margin-left: auto;
  margin-right: auto;
  width: 39vh;
  background: transparent;
}
#pincodeHolder input {
  font-size: 5rem;
  height: 64px !important;
  letter-spacing: 0.5rem;
}
#pincodeHolder .input-group-append .btn {
  height: 64px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
}

/* Modals */
.modal-content {
  background-color: #2b3e50;
  color: #ebebeb;
  border-radius: 0;
  border: 1px solid #4e5d6c;
}
.modal-header {
  border-bottom: 1px solid #4e5d6c;
}
.modal-footer {
  border-top: 1px solid #4e5d6c;
}
.modal-big {
  max-width: 1200px;
}

/* Animations & Utilities */
@keyframes heartBeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.08); }
  28% { transform: scale(1); }
  42% { transform: scale(1.08); }
  70%, 100% { transform: scale(1); }
}
.heartBeat {
  animation-name: heartBeat;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
.slow {
  animation-duration: 2s !important;
}

.bg-indigo {
  background-color: #6610f2 !important;
  color: #fff !important;
}

/* Kuver & Occupation */
.kuver-btn {
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
}
.kuver-btn.active {
  background-color: #28a745 !important;
  color: #fff !important;
}

/* Day Detail Drilldown */
.day-detail-sidebar .list-group-item {
  background-color: #1b2731;
  color: #ebebeb;
  border-color: #4e5d6c;
}
.day-detail-sidebar .list-group-item.active,
.day-detail-sidebar .list-group-item:hover {
  background-color: #df691a !important;
  color: #fff !important;
}
.day-detail-content {
  background-color: #1b2731;
  border: 1px solid #4e5d6c;
  padding: 1.5rem;
  min-height: 550px;
}

/* ==================== SETTINGS SCREEN (EXACT STYLING) ==================== */
#settings-holder .card,
.settings-sidebar .card,
#view-reports .col-lg-2 > .card,
#view-settings .col-lg-2 > .card {
  height: 68px;
  margin-bottom: 6px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#settings-holder .card:hover,
.settings-sidebar .card:hover,
#view-reports .col-lg-2 > .card:hover,
#view-settings .col-lg-2 > .card:hover {
  filter: brightness(1.15);
}
#settings-holder .card.active,
#settings-holder .card.active .card-body,
.settings-sidebar .card.active,
.settings-sidebar .card.active .card-body {
  background-color: #d9534f !important;
  color: #ffffff !important;
  border-color: #d9534f !important;
}
#settings-holder .card-body,
.settings-sidebar .card-body,
#view-reports .col-lg-2 > .card > .card-body,
#view-settings .col-lg-2 > .card > .card-body {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 100%;
}
#settings-holder h2,
.settings-sidebar h2,
#view-reports .col-lg-2 > .card h2,
#view-settings .col-lg-2 > .card h2 {
  font-size: 19px;
  margin: 0;
  font-weight: bold;
  display: flex;
  align-items: center;
  width: 100%;
  line-height: 1;
}
#settings-holder h2 i,
.settings-sidebar h2 i,
#view-reports .col-lg-2 > .card h2 i,
#view-settings .col-lg-2 > .card h2 i {
  width: 28px;
  text-align: center;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
#settings-holder h2 span,
.settings-sidebar h2 span,
#view-reports .col-lg-2 > .card h2 span,
#view-settings .col-lg-2 > .card h2 span {
  display: inline-block;
  line-height: 1.2;
}
.ntb {
  border-top: 0px !important;
}
.tab-height {
  height: 62vh;
}
.tab-inside-height {
  height: 63vh;
}
.flow {
  overflow-y: auto;
  overflow-x: hidden;
}
.subCatInput {
  text-align: left;
  min-height: 52px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.subCat {
  padding: 0.6em 1em;
  margin-right: 6px;
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: transform 0.1s;
}
.subCat:hover {
  transform: scale(1.05);
}
.bodyquote {
  padding: 12px;
  background-color: #2b3e50;
  box-shadow: 1px 1px 4px rgb(22, 31, 40);
  border-left: 5px solid #df691a;
  border-radius: 4px;
}
.list-group-item-warning {
  background-color: #f0ad4e !important;
  color: #1b2731 !important;
  font-weight: bold;
}
#view-settings .card-header h5 {
  font-weight: bold;
  margin-bottom: 0;
}

