@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #eeeeee;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
}

.container>nav {
    background-color: #edb13a;
    height: 120px;
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}

.container>nav>img {
    width: 100px;
    position: relative;
    transform: translateY(50%);
    box-shadow: 0 0 0 8px #fff;
    border-radius: 50%;
    background-color: #ffffff;
}

.container>.caption {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    text-align: center;
    color: #222;
    line-height: 1.4;
}

.container>.caption>h5 {
    font-size: 17px;
    letter-spacing: 1px;
}

.container>.orders-box {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    position: relative;

}

/* .container > .orders-box >.order{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color:#000;
    margin-bottom: 1.5rem;
} */

.order {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 14px;
}

.order-label {
    width: 130px;
    /* consistent label width */
    font-weight: bold;
    margin-right: 10px;
}

.order-input {
    flex: 1;
    padding: 5px;
    font-size: 14px;
    width: 100%;
}

.phone-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    /* take full remaining space */
}

.country-code {
    padding: 5px 8px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.phone-wrapper input {
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 4px 4px 0;
}


.order-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* .bill-box .money p {
    text-align: right;
    font-family: monospace; 
    min-width: 80px;
     adjust width as needed
} */

.price-col {
    font-size: 14px;
    /* Adjust as needed */
}

.checkoutbtn {
  display: inline-block;
  background-color: #007bff; /* or your original color */
  color: white;
  padding: 5px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  width: 100%; /* if the original div was full width */
  margin-top: 1rem;
}

.checkoutbtn:focus {
  outline: none;
}

.checkoutbtn:hover {
  background-color: #0056b3; /* darker shade for hover */
}

/* For Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}


.container>.orders-box>.order>span:nth-of-type(1) {
    margin: 0 -10px;
    color: #000;
    font-weight: 900;
}

.container>.orders-box>.order>span:not(span:nth-of-type(1)) {
    cursor: pointer;
    font-size: 18px;
}

.container>.orders-box>.order>.box-1 {
    margin: 0 -7px;
    border: 1px solid #edb13a;
    box-shadow: inset 0 0 0 .7px #edb13a;
    border-radius: 7px;
    color: #000;
    font-weight: 900;
    padding: 5px 7px;
    width: 33%;
}

.container>.orders-box .order>p {
    font-weight: 600;
}

.container>.orders-box>.order>.xmark-box>i {
    font-size: 16px;
    color: #f3f3f3;
    background-color: #edb13a;
    padding: 5px 8px;
    border-radius: 50%;
    transition: all .15s;
    cursor: pointer;
}

.container>.orders-box>.order>.xmark-box>i:hover {
    filter: sepia(60%);
}

.count {
    width: 100% !important;
}

.container>.orders-box>.order>.beverage-box>img {
    width: 27px;
    background-color: #f3f3f3;
    border-radius: 6px;
    border: 1px solid #edb13a;
}

.container>.orders-box>.order>.beverage-box {
    border-radius: 6px;
    cursor: pointer;
    width: 39%;
    padding: 5px;
    background-color: #edb13a;
    color: #f3f3f3;
    letter-spacing: .5px;
    font-weight: 100;
    display: flex;
    gap: .3rem;
    align-items: center;
    transition: all .3s;
}

.container>.orders-box>.order>.beverage-box:hover {
    filter: sepia(60%);
}

.bill-box {
  background-color: #f0f0f0;
  color: #333;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.5rem;
  border-radius: 6px;
  line-height: 1.5;
  font-size: 16px;
}

.bill-box .money p {
  text-align: right;        /* Align numbers to the right */
  min-width: 80px;          /* Ensure consistent width */
  font-variant-numeric: tabular-nums; /* Optional: modern font fallback for decimal alignment */
}
.bill-box .info, .bill-box .money {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.container>.orders-box>.btn {
    background-color: #f0f0f0;
    color: #edb13a;
    margin-top: 1rem;
    padding: .5rem;
    border-radius: 7px;
    text-align: center;
    letter-spacing: .4px;
    cursor: pointer;
    transition: all .4s ease-out;
}

.container>.orders-box>.btn:hover {
    background-color: #edb13a;
    color: #e8e8e8;
}

.minus {
    cursor: pointer;
}

input,
textarea {
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 5px;
}

.onlyIdli {
    padding-right: 15px;
}

.custom-select {
    position: relative;
    padding: 1rem 0rem;
}

select {
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}


.custom-select::before,
.custom-select::after {
    content: "";
    position: absolute;
    right: 1rem;
    pointer-events: none;
}

.custom-select::before {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-bottom: var(--size) solid black;
    top: 40%;
}

.custom-select::after {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-top: var(--size) solid black;
    top: 55%;
}

.title {
    color: #fff;
    font-size: 20px;
    font-size: 900;
    font-weight: 800;
}

@media screen and (min-width:500px) {
    body {
        height: 100vh;
    }

    .container {
        border-radius: 8px;
    }

    nav {
        border-radius: 8px 8px 0 0;
    }

    .container>.orders-box>.order>span:nth-of-type(1) {
        margin: 0 -20px;
    }

    .container>.orders-box>.order>.box-1 {
        margin: 0 -17px;
    }

}

@media only screen and (max-width:767px) {
    .bill-box {
        font-size: 1.1rem;
    }

    .container {
        max-width: 700px;
        margin: 0 auto;
    }

}

@media only screen and (max-width:991px) and (min-width:768px) {
    .container {
        max-width: 900px;
    }

}

@media (max-width: 768px) {
  .custom-select::before,
  .custom-select::after {
    display: none;
  }

  select {
    appearance: auto;
    -webkit-appearance: auto;
  }
}

