@charset "UTF-8";
@font-face {
    font-family: myFirstFont;
    src: url('font.ttf');
    font-display: swap;
}

body {
    margin: 0;
    font-family: myFirstFont, Arial, sans-serif;
    overflow-y: scroll;
    background-color: #F7F7F7;
}

body > *:not(#loading) {
    opacity: 0; 
    transition: opacity 1s ease; 
}

body > *:not(#loading).show {
    opacity: 1;
}

.header {
    background: linear-gradient(to bottom, #ffffff, #f0f0f0);  
    color: #333;  
    padding: 10px 0; 
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
}
.headerlogo {
    width: auto;
    height: 60px;
}

.content {
    padding-top: 80px; 
}

.footer {
    overflow-x: auto;  
    overflow-y: hidden;  
    white-space: nowrap;
    background: linear-gradient(to top, #E3E3E3, #FCFCFC);  
    padding: 14px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 20px;
    text-align: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;  
}

 
.loading-spinner  {
    z-index: 999999;
    width: 50px;
    aspect-ratio: 1;
    --_c:no-repeat radial-gradient(farthest-side,#25b09b 92%,#0000);
    background: 
    var(--_c) top,
    var(--_c) left,
    var(--_c) right,
    var(--_c) bottom;
    background-size: 12px 12px;
    animation: l7 1s infinite;
    position: fixed; 
    top: 50%;  
    left: 50%;  
    margin-left: -25px;
    margin-top: -25px;
}

@keyframes l7 {to{transform: rotate(.5turn)}}

.footer-button {
    width: 80px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    padding :15px !important;
}

.footer-button img {
    padding-top: 10px;
    width: 20px;
    height: auto; 
    display: block;
    margin: 0 auto;
}

.footer-button p {
    margin: 1px;  
    font-size: 0.8rem;  
    line-height: 1.2; 
    padding: 2px;
    padding-bottom: 10px;
}

.footer-button:active {
    background-color: #D2D2D2;  
    transform: translateY(1px);  
    transition: transform 0.2s, background-color 0.2s; 
}

.active{
    background: RGB(205,230,230,0.5) ;
}

@media only screen and (max-width: 600px) {
    .footer {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;

    }
    .footer-button {
        margin: 10px 0;
    }
}

.container {
    display: flex;
    height: 75.7vh;
    box-sizing: border-box;
    overflow: hidden;
    justify-content: center;
    text-align: center;
}

.containerrev {
    box-sizing: border-box;
    overflow: hidden;
    justify-content: center;
    text-align: center;
    padding-bottom: 100px;
}

.catg {
    background-color: #43AAB0 ;
    width: 20%;
    padding: 15px 0;
    display: flex;
    margin: 5px;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    overflow-y: auto; 
    border-radius:50px  ; 
}

.catgitem {
    text-align: center;
    margin: 5px 0;  
    width: 80%;  
}

.catgitem:active {
    transform: scale(0.90); 
}

.catgitem img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;  
}

.catgitem p {
    max-width: 100%;
    margin-top: 5px;
    font-size: 0.7rem;
    color: #fff;
    margin-bottom: 0; 
    font-smooth: auto;
    outline: none;
    user-select: none; 
}

.itemsarea {
    background-color: transparent;
    width: 80%;
    padding-left: 5px;
    padding-right: 10px;
    padding-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px;
    box-sizing: border-box;
    overflow-y: auto;
}
.itemsarea > div {
    width: 100%; 
}

.card {
    width: calc(50% - 5px);  
    margin-bottom: 10px;  
    margin-right: 0;  
    padding: 10px;
    background-color: #FFFFFF;  
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    text-align: center;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;  
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    background: #f6f7f8;
    background-image: linear-gradient(to right, rgba(246, 247, 248, 0.2) 0%, rgba(224, 224, 224, 0.8) 20%, rgba(246, 247, 248, 0.8) 40%, rgba(246, 247, 248, 0.8) 100%);
    background-repeat: no-repeat;
    background-size: 1200px 100%;
    animation: shimmer 2.5s infinite linear;
    
}

.card img.loaded {
    background: none;
}

@keyframes shimmer {
    0% {
        background-position: -1200px 0;
    }
    100% {
        background-position: 1200px 0;
    }
}

.card h5 {
    margin: 10px 0;
    font-size: 1em;
    color: #333333;
    outline: none;
    user-select: none;
}

.card p {
    margin-bottom: 0;
    color: #666666;
    outline: none;
    user-select: none; 
}

.card:active {
    transform: scale(1.05);  
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 16px;  
}


.cart-icon {

    position: fixed;
    top: 25px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 2px;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
     visibility:  hidden;
}

.quantity-container {
    display: flex;
    align-items: center;
}


.quantity-input {
    width: 60px;
    height: 36px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    margin: 0 5px;
}

.quantity-input:focus {
    border-color: orange;
    outline: none;
}


#cart-count {
    background-color: rgba(251, 129, 10, 0.9);
    color: #fff;
    width: 25px;  
    height: 20px;  
    border-radius: 50%;  
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    position: absolute;
    top: -10px;
    right: -10px;
    transform: scale(1);
    transition: transform 0.3s ease;
    padding-top: 5px;
    overflow-y: auto;
}

.cart-content {
    position: fixed;
    bottom: -100%;  
    left: 0;
    width: 100%;
    height: 90%;
    background-color: white;
    box-shadow: 0px -4px 12px rgba(0, 0, 0, 0.2);
    padding: 10px;
    box-sizing: border-box;
    z-index: 9999;
    transition: bottom 0.15s  initial;  
}

.buttono-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 10px;
}

.buttono {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: border 0.3s ease;
    width: 40px;
    height: auto;
    border-radius: 10px;
    padding: 10px;
}

.buttono:focus {
    outline: none;
}

.buttono-item {
    text-align: center;
}

.buttono-text {
    font-size: 0.8em;  
    color: #333;  
}

.buttono.selected {
   box-shadow:  rgba(251, 129, 10, 0.9) 0px 0px 0px 1px;
}
 
h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;  
}

.shopname{
    display: block;
    align-items: center;
    justify-content: space-between;  
    text-align: center !important;
}

.amount-label {
    display: flex;  
    align-items: center;  
    justify-content: center;  
    background-color:  rgba(251, 129, 10, 0.9); 
    color: #ffffff;  
    padding: 5px 10px;  
    border-radius: 5px;  
    font-size: 1em;  
    font-weight: bold;  
    height: 30px;  
    line-height: 30px;  
    padding-top: 10px;
    width: 30%;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.table-container {
    max-height: 75%;  
    overflow-y: auto; 
    overflow-x: hidden;
    margin-top: 10px;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.size-select {
    width: 100%;  
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: white;
    font-size: 1em;
    font-family: 'myFirstFont', sans-serif;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.product-table th, .product-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.product-table th {
    background-color: #f2f2f2;
}

.product-image {
    width: 50px;  
    height: auto;
    border-radius: 8px;  
}

.quantity-input {
    width: 60px;  
    text-align: center;
}

.table-btn {
    width: 20px;  
    height: auto;
    cursor: pointer;
}

  

.dialog-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5); 
    opacity: 0;  
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    width: 70%;
    text-align: center;
    display: none;
    animation: showDialog 0.3s ease forwards;
    z-index: 9999999999;
}

@keyframes showDialog {
    0% {
        transform: translate(-50%, -50%) scale(0.5);  
        opacity: 0;  
    }
    100% {
        transform: translate(-50%, -50%) scale(1); 
        opacity: 1; 
    }
}

.dialog-container h2 {
    color: #26BB44;
}

.dialog-container p {
    color: #666;
    margin-top: 10px;
}

.containera {
    margin: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    align-content: center;
    height: 60vh;
}

.square {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
    border-radius: 20px;
    padding: 10px;
}

.square img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.square p {
    margin: 0;
    font-size: 0.8em;
}

.square:active {
    transform: translateY(3px);  
    transition: transform 0.1s, background-color 0.2s; 
}

.chartcontainer {
    margin-top: -60px;
    justify-content: center;
    align-items: center;     
}

#myChart {
    width: 95% !important;
    margin: 10px  !important;
    
}

.list-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    margin: 15px;
    border: none;
    border-radius: 5px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
  }

  .list-item img {
    width: 40px;  
    margin-right: 20px;  
    border-radius: 5px;  
  }

  .list-item .info {
    flex: 1;  
  }

   .list-item p {
    padding-top: 10px;
    margin: 0;  
    white-space: pre-wrap;  
  }

  .list-item .date {
    font-size: 0.8rem;
    color: gray;
    color: #333; 
  }

.list-item .phone-icon {
  width: 20px;
  margin-right: 5px;
  vertical-align: middle;  
  margin-top: -2px;
}

.customerphonelist{
    width: 90%;
    margin: 20px;
    height: 93%;
    border: none;  
    font-size: 1.5rem;
    resize: none; 
    outline: none;
    border-radius: 10px;
}

.beautiful-button {
    width: calc(100% - 30px);  
    padding: 15px 10px;
    margin: 15px;
    font-family: 'myFirstFont', sans-serif;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #ff6f61;
    color: white;
    border: none;
    cursor: pointer;
    display: none; 
    transition: background-color 0.3s ease, transform 0.2s ease;
    padding-top: 20px;
}

.beautiful-button:hover {
    background-color: #ff5a4d;  
    transform: translateY(-2px);
}

.beautiful-button:active {
    background-color: #e64e42;  
    transform: translateY(0);
}

ol {
  list-style: none;
  counter-reset: list;
  padding: 0 1.5rem;
}

li {
  --stop: calc(100% / var(--length) * var(--i));
  --l: 62%;
  --l2: 88%;
  --h: calc((var(--i) - 1) * (180 / var(--length)));
  --c1: hsl(var(--h), 71%, var(--l));
  --c2: hsl(var(--h), 71%, var(--l2));
  position: relative;
  counter-increment: list;
  max-width: 25rem;
  margin: 0.5rem 0;   
  padding: 0.2rem 1rem 0.5rem;   
  border-radius: 0.25rem;
  overflow: hidden;
  background-color: white;
}

li::before {
  content: '';
  display: block;
  width: 100%;
  height: 0.2rem;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to right, var(--c1) var(--stop), var(--c2) var(--stop));
}

h9 {
  display: flex;
  align-items: baseline;
  margin: 1rem 0 -0.5rem;
  color: rgb(70 70 70);
  font-size: 1.3rem;
  text-align: left;   
  justify-content: space-between; 
  width: 100%;
}

.starRating1 {
  font-size: 1.3rem; 
  color: #FFD700; 
  margin: 0;  
  padding-left: 0;  
  align-self: center;  
}

@media (min-width: 40em) {
  li {
    margin: 2rem 0;  
    padding: 2rem 1.5rem 1rem; 

  }
  
  h9 {
    font-size: 2rem; 
    margin: 0 0 1.5rem;  
  }
}


.custom-list {
    list-style-type: none;
    padding: 0;
    max-width: 90%;
    max-height: 200px;
    margin: auto;  
    overflow-y: auto;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items:   flex-start;
}

.custom-list-item {
    position: relative;
    padding-left: 60px;
    padding-right: 60px;
    margin-bottom: 10px;
    padding-top: 10px;
    background-color: #43AAB0;
    color: #fff;
    font-size: 1rem;
    line-height: 20px;
    display: flex;
    align-items: center;
    height: 40px;
    text-align: center;
    margin-left: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    
    min-width: fit-content; 
    user-select: none; 
}

.custom-list-item:hover {
    background-color: #E17F16; 
}

.custom-list-item img {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; 
    height: 40px; 
    user-select: none; 
}

.custom-list-item span {
    margin-left: 5px;
}


.items-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.items-table th, .items-table td {
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.items-table th {
    background-color: #007BFF;
    color: white;
}

.items-table td {
    background-color: #f2f2f2;
}

.items-table img {
    max-width: 80px;
    height: auto;
    display: block;
    margin: auto;
}

.table-btn {
    width: 35px;
    padding: 5px;
    cursor: pointer;
}

.items-table input {
    width: 100%;
    height: 40px;
    padding: 5px;
    text-align: center;
    font-family: myFirstFont;
    font-size: 1rem;
    box-sizing: border-box;
}

.name-price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    z-index: 999999;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    width: 100%;
    opacity: 0;
    transform: perspective(1000px) rotateX(0) translateZ(-200px);
    animation: fadeIn1 0.5s ease forwards;
}

@keyframes fadeIn1 {
    to {
        opacity: 1;
        transform: perspective(1000px) rotateX(0deg) translateZ(0);
    }
}

.modal-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #535353;
}

.modal-content button {
    font-family: myFirstFont, Arial, sans-serif;
    width: 90px;
    margin: 7px 7px;
    padding: 7px 7px;
    font-size: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-content button#yesBtn {
    background-color: #28C273;
    line-height: 2;
    color: white;
}

.modal-content button#noBtn {
    background-color: #F05C5C;
    line-height: 2;
    color: white;
}

.modal-content button#yesBtn1 {
    background-color: #28C273;
    padding-top: 10px;
    line-height: 2;
    color: white;
}

.modal-content button#noBtn1 {
    background-color: #F05C5C;
    padding-top: 10px;
    line-height: 2;
    color: white;
}

.modal-content button:hover {
    opacity: 0.9;
}


.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #fff;
    z-index: 999999;
}

.popup-content {
    width: 100%;
    height: 100%;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.green-button {
    font-family: myFirstFont, Arial, sans-serif;
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;  
    padding-top: 20px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-left: auto;
    margin-right: auto;
    width: 90% !important;
    display: flex;
    justify-content: center; 
}


.green-button:hover {
    background-color: #45a049;
}

.addnewitemtext{
    width: 100%;
    height: 40px;
    padding: 5px;
    text-align: center;
    font-family: myFirstFont;
    font-size: 1rem;
    box-sizing: border-box;
    margin-top: -20px;
}


.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
  margin-top: 10px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}
.slider.round {
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #2196F3;
}
input:checked + .slider:before {
  transform: translateX(14px);
}
