body {
	overflow: hidden;
	height: 100SVH;
	background: #f1f1f1;
}
header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 20px;
	float: left;
	width: 100%;
}
header DIV {
	float: left;	
}
header i.fa-credit-card {
	color: #fff;
	padding: 20px;
	border-radius: 10px;
	text-align: center;
	background: #8691e5;	
	font-size: 24px;
	margin-right: 20px;
}
header .c SPAN {
	display: block; 
	line-height: 30px;
}
header .c SPAN:first-child {
	color: #fff;
	font-size: 26px;	
	font-weight: bolder;
}
header .c SPAN:last-child {
	color: #d9e7fc;
	font-size: 18px;
}
header i.fa-magnifying-glass {
	float: right;
	color: #fff;
	font-size: 24px;
	margin-top: 15px;
}
header #search {
	max-width: CALC(100SVW - 110px);
	height: 60px;
}
.search-wrapper {
  	position: fixed;
	top: 23px;
	left: 100px;
  	width: CALC(100SVW - 110px);
  	display: none;
}
.clear-button {
  	position: absolute;
  	right: 10px;
  	top: 7px;
  	color: #888;
  	font-size: 30px;
  	cursor: pointer;
}


footer {
	position: fixed;
	bottom: 0;
	left: 0;
	float: left;
	width: 100%;
	padding: 5px 10px;
	height: 50px;
	color: #fff;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
footer > DIV {
	float: left;
	width: 50%;
	text-align: center;	
}
footer DIV DIV {
	width: 75px;
	border-radius: 10px;
	margin: 0 auto;
	padding: 5px 10px;
	line-height: 10px;
}
footer DIV DIV i {
	font-size: 20px;
	display: block;
}
footer DIV DIV SPAN {
	font-size: 12px;
	display: block;
}
footer DIV .active {
	background: #fff;
	font-weight: bolder;
	color: #4e73df;
}

#body {
	background: #f1f1f1;
	height: CALC(100SVH - 155px);	
	border: 1px solid #f1f1f1;
}


.modal-title BUTTON {
	font-size: 20px;
}
svg.barcode {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto;
}


.store-list {
  display: flex;
  flex-direction: column;
  background: #f1f1f1;
  padding: 10px;
  overflow: hidden;
	overflow-Y: auto;
	height: CALC(100SVH - 155px);	
}
.section-letter {
  font-size: 16px;
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #666;
  padding-left: 8px;
}
.store-list .section-letter:first-child {
	margin-top: 0;
}
.store-card {
  display: flex;
  align-items: center;
  background: white;
  padding: 7px 16px;
  cursor: pointer;
  margin: 0;
  position: relative;
}
.store-card.active {
	background: #8fbc8f;	
}
.store-card.active:before {
	content: "new";
	position: absolute;
	right: 5px;
	top: 5px;
	color: #000;
	
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
  
}
.store-card.first {
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
}
.store-card.end {
	border-bottom-left-radius: 14px;
	border-bottom-right-radius: 14px;
}
.store-card:not(.end)::after {
	position: absolute;
	bottom: 0;
	left: 70px;
	content: "";
	width: CALC(100% - 90px);
	height: 1px;
	border-bottom: 1px solid #dcdcdc;
}
.store-initial {
  width: 40px;
  height: 40px;
  background-color: #4e73df;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 14px;
  font-size: 1rem;
  flex-shrink: 0;
}
.store-name {
  font-size: 16px;
  font-weight: 400;
  color: #222;  
}


LABEL {
	font-weight: bolder;
}

.card {
	margin: 30px 10px;
}
.card-title {
	border-bottom: 1px solid #dedede;
	padding-bottom: 10px;
}
#reader {
	width: 100%;
	flex-grow: 1;
 }
 
 
 .qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /*padding: 1em;*/

}
.qr-text {
  font-size: 1.1em;
  font-weight: bold;
  word-break: break-all;
  color: #333;
    text-align: center;
}


    svg {
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  width: 100%;
  height: auto;
  }
  
  .modal .card {
      background: linear-gradient(135deg, #2196f3, #21cbf3);
      color: white;
      border-radius: 12px;
      box-shadow: 0 6px 16px rgba(0,0,0,0.1);
      padding: 20px;
      margin: 20px auto;
      max-width: 400px;
      text-align: center;
      position: relative;
    }

    .modal .card h2 {
      margin: 0 0 10px;
      font-size: 1.5rem;
      font-weight: bold;
    }
   canvas {
  width: 100% !important;
  height: auto !important;
}