/* Cleaned-up Custom Login Styling */

body {
    background-color: #f4f6f9;
    font-family: "Nunito", sans-serif;
    height: 100vh;
    margin: 0;
}

.login-page {
    height: 100vh;
    background-color: #f4f6f9;
}

.login-card {
    width: 100%;
    max-width: 450px;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

/* .card-header {
    background: linear-gradient(90deg, #4e73df 0%, #1e77d0 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    text-align: center;
    padding: 1rem;
} 
.card-body {
    padding: 2rem;
}*/


/* .btn-primary {
    background-color: #4e73df;
    border: none;
    padding: 0.5rem 1.5rem;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0f7cdb;
} */
/*.btn-secondary {
color: #fff;
border-color: #cdcdcd;
background-color: #5a5c69;
background-image: linear-gradient(180deg, #cdcdcd 10%, #565656 100%);
background-size: cover;
}
.btn-primary {
color: #fff;
border-color: #5a5c69;
background-color: #5a5c69;
background-image: linear-gradient(180deg, #5a5c69 10%, #27306a 100%);
background-size: cover;
}
.btn-success:not(:disabled):not(.disabled).active:focus, .btn-success:not(:disabled):not(.disabled):active:focus, .show>.btn-success.dropdown-toggle:focus {
box-shadow: none;
}
.btn-success.focus, .btn-success:focus {
color: #fff;
background-color: transparent;
border-color: transparent;
box-shadow: none;
}
a.btn.btn-success.btn-circle:focus {
  color: #fff;
  background-color: #17a673;
  border-color: #169b6b;
}
button.btn.btn-success.btn-refresh.m-1 {
background: none;
border: 0;
padding: 0 !important;
text-align: right;
}
button.btn.btn-success.btn-refresh img {
width: 25%;
margin-left: 20px;
}
.form-control {
    border-radius: 0.35rem;
}

a {
    color: #0f34a2;
    font-size: 0.9rem;
}*/
/* -------------Meera -------------- */
.btn-secondary {
color: #fff;
border-color: #cdcdcd;
background-color: #5a5c69;
background-image: linear-gradient(180deg, #cdcdcd 10%, #565656 100%);
background-size: cover;
}
.btn-primary {
color: #fff;
border-color: #5a5c69;
background-color: #5a5c69;
background-image: linear-gradient(180deg, #5a5c69 10%, #27306a 100%);
background-size: cover;
}
.bg-gradient-primary-to-secondary {
  background-color: #002b6a !important;
  
}
.bg-gradient-primary {
background-color: #5a5c69;
background-image: linear-gradient(180deg, #5a5c69 10%, #27306a 100%);
background-size: cover;
}
.text-primary 
{
    color: #282828 !important;
}
 .card-header {
  margin-bottom: 0;
  background-color: #f8f9fc;
  border-bottom: 0px solid #e3e6f0;
  padding: 0 !important;
  border-radius:0px;
  padding: 10px !important;
}
.sidebar-brand-icon img {
  padding: 10px !important;
}
.sidebar .nav-item .collapse .collapse-inner, .sidebar .nav-item .collapsing {
  min-width: 200px !important;
  
}

.sidebar .nav-item  .nav-links  
{
  width: 11rem !important;
}
.collapse .collapse-inner
{
    width: 11rem !important;
}
.topbar 
{
    height: 40px;
} 
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #002b6a !important;
    border-color: #002b6a !important;
} 
.btn-edit {
    background-color: #4e73df;
    color: white;
}
.btn-edit:hover {
    background-color: #2e59d9;
    color: white !important;
}

.btn-delete {
    background-color: #e74a3b;
    color: white;
}
.btn-delete:hover {
    background-color: #be2617;
    color: white !important;
}
/* Media 768  */
@media only screen and (max-width: 768px) {
  
  .sidebar {  
    width: 6.5rem;  
    min-height: 100vh;  
    z-index: 99; 

} 
.collapse .collapse-inner
{
    width: 6.5rem;  
    min-height: 100vh;  
    z-index: 99; 
}
}
/* Form check toggle */
.form-check {
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5em;
  margin-bottom: 0.125rem;
}
.form-check .form-check-input {
  float: left;
  margin-left: -1.5em;
}

.form-check-reverse {
  padding-right: 1.5em;
  padding-left: 0;
  text-align: right;
}
.form-check-reverse .form-check-input {
  float: right;
  margin-right: -1.5em;
  margin-left: 0;
}

.form-check-input {
  width: 1em;
  height: 1em;
  margin-top: 0.25em;
  vertical-align: top;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid rgba(0, 0, 0, 0.25);
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
}
.form-check-input[type=checkbox] {
  border-radius: 0.25em;
}
.form-check-input[type=radio] {
  border-radius: 50%;
}
.form-check-input:active {
  filter: brightness(90%);
}
.form-check-input:focus {
  border-color: transparent;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(0, 97, 242, 0.25);
}
.form-check-input:checked {
  background-color: #0061f2;
  border-color: #0061f2;
}
.form-check-input:checked[type=checkbox] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}
.form-check-input:checked[type=radio] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input[type=checkbox]:indeterminate {
  background-color: #0061f2;
  border-color: #0061f2;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}
.form-check-input:disabled {
  pointer-events: none;
  filter: none;
  opacity: 0.5;
}
.form-check-input[disabled] ~ .form-check-label, .form-check-input:disabled ~ .form-check-label {
  cursor: default;
  opacity: 0.5;
}

.form-switch {
  padding-left: 2.5em;
}
.form-switch .form-check-input {
  width: 2em;
  margin-left: -2.5em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
  background-position: left center;
  border-radius: 2em;
  transition: background-position 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .form-switch .form-check-input {
    transition: none;
  }
}
.form-switch .form-check-input:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='transparent'/%3e%3c/svg%3e");
}
.form-switch .form-check-input:checked {
  background-position: right center;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}
.form-switch.form-check-reverse {
  padding-right: 2.5em;
  padding-left: 0;
}
.form-switch.form-check-reverse .form-check-input {
  margin-right: -2.5em;
  margin-left: 0;
}

.form-check-inline {
  display: inline-block;
  margin-right: 1rem;
}

/*----------------Consume----------------------*/
   .kiosk-screen {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #E8F5E9;
    text-align: center;
}

.kiosk-logo {
    width: 180px;
    margin-bottom: 10px;
}

.welcome-text {
    font-size: 32px;
    color: #1E4620;
    font-weight: bold;
}

.sub-text {
    font-size: 18px;
    color: #3E6B49;
    margin-bottom: 30px;
}


.kiosk-card {
    background: white;
    width: 100%;
    max-width: 420px;       /* Ensures it looks same on desktop */
    padding: 30px;
    border-radius: 25px;
    border: 4px solid #4CAF50;
    margin: 0 auto;         /* Center on all screens */
}

.card-title {
    font-weight: bold;
    margin-bottom: 20px;
    color: #1E4620;
    font-size: 24px;
}


.kiosk-input {
    width: 100%;
    padding: 18px;
    font-size: 20px;
    border: 3px solid #4CAF50;
    border-radius: 15px;
    text-align: center;
    box-sizing: border-box;
}

.kiosk-button {
    background: #FFC107;
    border: none;
    width: 100%;
    padding: 18px;
    margin-top: 20px;
    border-radius: 30px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.kiosk-button:hover {
    background: #FFB300;
}
/* */
.kiosk-card-modal {
    background: #fff;
    border-radius: 25px !important;
    border: 4px solid #4CAF50 !important;
    padding: 30px;
}

.card-title {
    font-weight: bold;
    color: #1E4620;
    font-size: 20px;
}

.sub-text {
    color: #3E6B49;
    font-size: 18px;
}

.kiosk-button {
    background: #FFC107;
    border: none;
    width: 100%;
    padding: 18px;
    border-radius: 30px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.kiosk-button:hover {
    background: #FFB300;
}

/* -------------cart box--------------- */

/* Container that wraps the right-side order section */
.order-box-wrapper {
    position: sticky;
    top: 20px;
    z-index: 10;
}

/* The current order card style */
 
.current-order-card {
    border: 3px solid #4CAF50 !important;
    border-radius: 20px !important;
    width: 420px;
    padding: 25px !important;
    background: #ffffff;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.08);
     z-index: 10;
      height: auto !important;         /* override flexbox height */
    display: inline-block !important; /* prevent stretching full height */
}

/* Submit button improves alignment */
.current-order-card .kiosk-button {
    width: 100%;
    font-size: 20px;
    padding: 16px 0;
}

/* Total styling */
.current-order-card h4 {
    font-weight: 600;
    color: #555;
}

/* Ensure the box does not stretch */
.col-lg-4 {
    display: flex;
    justify-content: flex-end;
    align-self: flex-start !important;
}
/* cart modal close button */
.kiosk-close-btn {
    background: linear-gradient(to bottom, #f5f5f5, #b3b3b3);
    border: 1px solid #999;
    color: #fff;
    font-weight: 600;
    padding: 6px 18px;
    font-size: 14px;
    border-radius: 6px;
    transition: 0.3s;
}

.kiosk-close-btn i {
    margin-right: 6px;
}

.kiosk-close-btn:hover {
    background: linear-gradient(to bottom, #ffffff, #9e9e9e);
    color: #fff;
}
/* --------------cart box height */

#cart-body {
    min-height: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.kiosk-cart-box {
    height: auto !important;
    padding-bottom: 10px !important;
}

#submit-order {
    margin-bottom: 0 !important;
}

/* ----------Success Modal----------------- */
.success-modal-card {
    border: 3px solid #2ecc71;
    border-radius: 20px;
    padding: 10px;
}

.btn-secondary {
    background: #b5b5b5;
    border-color: #b5b5b5;
    border-radius: 5px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #999;
    border-color: #999;
}

