/* Global Styles */
 body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f4f1;
    background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(244, 247, 251) 100%);
    color: #2c1810;
    line-height: 1.6;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navbar Styling */
.navbar {
    background-color: #AB886D !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: #e6d5c3 !important;
    font-size: 24px;
    font-weight: bold;
}

.nav-link {
    color: #e6d5c3 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #bf9d7e !important;
}

.navbar-toggler {
    border-color: #e6d5c3;
}


/* Container Styling */
.container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}


.container-footer {
    width: 100%;
    height: 200px;
    background-color: #173B45;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
     padding: 0 !important;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Form Styling */
.form-control {
    border: 2px solid #e6d5c3;
    border-radius: 4px;
    padding: 8px 12px;
}

.form-control:focus {
    border-color: #2c1810;
    box-shadow: 0 0 0 0.2rem rgba(44, 24, 16, 0.25);
}

/* Button Styling */
.btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}



.btn-primary:hover {
    background-color: #3d241b;
    border-color: #3d241b;
}

/* Table Styling */
table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

th {
    background-color: #2c1810;
    color: #e6d5c3;
    padding: 12px;
}

td {
    padding: 12px;
    border-bottom: 1px solid #e6d5c3;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.card:hover {
    transform: scale(1.05); /* Slightly enlarge the card */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add a shadow effect */
}


.card-header {
    background-color: #f8f4f1;

}

.card-body {
    padding: 0;
    background-color: #f8f4f1;
}
.card-body-rating {
    padding: 0;
    background-color: #f8f4f1;
}

/* image field */

.image-fit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

footer {

    color: #e6d5c3;

    margin-top: 40px;
    width: 100%;
}


footer a {
    color: #bf9d7e;
    text-decoration: none;
}

footer a:hover {
    color: #e6d5c3;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .navbar-nav {
        padding: 10px 0;
    }
    
    .table-responsive {
        overflow-x: auto;
    }
}

/* Alert Messages */
.alert {
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 12px 20px;
}

/* Custom Classes */
.text-coffee {
    color: #2c1810;
}

.bg-coffee {
    background-color: #2c1810;
}

.text-cream {
    color: #e6d5c3;
}

.bg-cream {
    background-color: #e6d5c3;
}

/* Hide the default checkbox */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #007bff; /* Blue border */
    border-radius: 50%; /* Makes it round */
    outline: none;
    cursor: pointer;
    position: relative;
    background-color: white;
    transition: all 0.2s ease-in-out;
}

/* When checked, show a blue background with a checkmark */
input[type="checkbox"]:checked {
    background-color: #007bff;
    border-color: #007bff;
}

/* Create the checkmark */
input[type="checkbox"]::before {
    content: '✔';
    font-size: 16px;
    color: white;
    display: none;
    position: absolute;
    top: 2px;
    left: 5px;
}

/* Show the checkmark when checked */
input[type="checkbox"]:checked::before {
    display: block;
}
  #message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    min-width: 250px;
  }

  .alert {
    padding: 12px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
    color: #fff;
    background-color: #28a745; /* Success green */
    opacity: 1;
    transition: opacity 1s ease-out;
  }

  .alert-success {
    background-color: #28a745;
  }

  .alert-error {
    background-color: #dc3545;
  }

  		/* Hide Radio button */
.rate > input{
  display: none;
}

.rate{
  display: inline-block;;
  border: 0;
}

.rate > label{
  float: right;
}

/* Showing the stars */
.rate > label:before{
  display: inline-block;
  font-size: 1.1rem;
  font-family: FontAwesome;
  content: "\f005";
  margin:0;
  padding:0.3rem .2rem;
  cursor: pointer;
}

/* Half star */
.rate .half:before{
  content: "\f089";
  position: absolute;
  padding-right: 0;
}
/* Click and hover */
input:checked ~ label, label:hover ~ label{
  color: #ffb503;
}

/* hover hightlight */
input:checked + label:hover, input:checked ~ label:hover,input:checked ~ label:hover ~ label,
label:hover ~ input:checked ~ label{
  color: #cc9000;
}

.rating-star i{
  color: #ffb503 !important;
}

.dashboard {
    display: flex;
}
.sidebar {
    width: 200px;
    background: #f3f3f3;
    padding: 10px;
}
#sidebar-content.hidden {
    display: none;
}
.main-content {
    flex: 1;
    padding: 20px;
}

/*add to cart button*/

/* From Uiverse.io by vinodjangid07 */
.button {
  width: 110px;
  height: 40px;
  background-image: linear-gradient(rgb(214, 202, 254), rgb(158, 129, 254));
  border: none;
  border-radius: 50px;
  color: rgb(255, 255, 255);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 1px 3px 0px rgb(139, 113, 255);
  transition-duration: .3s;
}

.cartIcon {
  width: 14px;
  height: fit-content;
}

.cartIcon path {
  fill: white;
}

.button:active {
  transform: translate(2px ,0px);
  box-shadow: 0px 1px 0px rgb(139, 113, 255);
  padding-bottom: 1px;
}




/*download invoice button*/
/* From Uiverse.io by adamgiebl */
.cssbuttons-io-button {
  display: flex;
  align-items: center;
  font-family: inherit;
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
  padding: 0.8em 1.5em 0.8em 1.2em;
  color: white;
  background: #ad5389;
  background: linear-gradient(
    0deg,
    rgba(77, 54, 208, 1) 0%,
    rgba(132, 116, 254, 1) 100%
  );
  border: none;
  box-shadow: 0 0.7em 1.5em -0.5em #4d36d0be;
  letter-spacing: 0.05em;
  border-radius: 20em;
}

.cssbuttons-io-button svg {
  margin-right: 8px;
}

.cssbuttons-io-button:hover {
  box-shadow: 0 0.5em 1.5em -0.5em #4d36d0be;
}

.cssbuttons-io-button:active {
  box-shadow: 0 0.3em 1em -0.5em #4d36d0be;
}
/* send mail button */
/* From Uiverse.io by eirikvold */
button {
  font-family: inherit;
  font-size: 18px;
  background: linear-gradient(to bottom, #4dc7d9 0%,#66a6ff 100%);
  color: white;
  padding: 0.8em 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 25px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

button:active {
  transform: scale(0.95);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

button span {
  display: block;
  margin-left: 0.4em;
  transition: all 0.3s;
}

button svg {
  width: 18px;
  height: 18px;
  fill: white;
  transition: all 0.3s;
}

button .svg-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  margin-right: 0.5em;
  transition: all 0.3s;
}

button:hover .svg-wrapper {
  background-color: rgba(255, 255, 255, 0.5);
}

button:hover svg {
  transform: rotate(45deg);
}

/*cancel button */

/* From Uiverse.io by gharsh11032000 */
.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 15px 20px;
  background-color: #212121;
  border: none;
  font: inherit;
  color: #e8e8e8;
  font-size: 20px;
  font-weight: 600;
  border-radius: 50px;
  cursor: not-allowed;
  overflow: hidden;
  transition: all 0.3s ease cubic-bezier(0.23, 1, 0.320, 1);
}

.button span {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.button::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  translate: 0 105%;
  background-color: #F53844;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.button svg {
  width: 32px;
  height: 32px;
  fill: #F53844;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.button:hover {
  animation: shake 0.2s linear 1;
}

.button:hover::before {
  translate: 0 0;
}

.button:hover svg {
  fill: #e8e8e8;
}

@keyframes shake {
  0% {
    rotate: 0deg;
  }

  33% {
    rotate: 10deg;
  }

  66% {
    rotate: -10deg;
  }

  100% {
    rotate: 10deg;
  }
}
/*Login form */

.container-login {
  max-width: 450px;
  background: #F8F9FD;
  background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(244, 247, 251) 100%);
  border-radius: 40px;
  padding: 25px 35px;
  border: 5px solid rgb(255, 255, 255);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 30px 30px -20px;
  margin: 20px;

}
.container-checkout {
  width: 100%;
  background: #F8F9FD;
  background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(244, 247, 251) 100%);
  border-radius: 25px;
  border: 5px solid rgb(255, 255, 255);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 30px 30px -20px;
  margin: 20px;

}
.heading-login {
  text-align: center;
  font-weight: 900;
  font-size: 30px;
  color: rgb(16, 137, 211);
}

.form {
  margin-top: 20px;
}

.form .input {
  width: 100%;
  background: white;
  border: none;
  padding: 15px 20px;
  border-radius: 20px;
  margin-top: 15px;
  box-shadow: #cff0ff 0px 10px 10px -5px;
  border-inline: 2px solid transparent;
}

.form .input::-moz-placeholder {
  color: rgb(170, 170, 170);
}

.form .input::placeholder {
  color: rgb(170, 170, 170);
}

.form .input:focus {
  outline: none;
  border-inline: 2px solid #12B1D1;
}

.form .forgot-password {
  display: block;
  margin-top: 10px;
  margin-left: 10px;
}

.form .forgot-password a {
  font-size: 11px;
  color: #0099ff;
  text-decoration: none;
}

.form .login-button {
  display: block;
  width: 100%;
  font-weight: bold;
  background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
  color: white;
  padding-block: 15px;
  margin: 20px auto;
  border-radius: 20px;
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 20px 10px -15px;
  border: none;
  transition: all 0.2s ease-in-out;
}

.form .login-button:hover {
  transform: scale(1.03);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 23px 10px -20px;
}

.form .login-button:active {
  transform: scale(0.95);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 15px 10px -10px;
}



.agreement {
  display: block;
  text-align: center;
  margin-top: 15px;
}

.highlight-link {
    font-weight: 700;
    font-size: 1.2rem;
    color: #007bff;
    text-decoration: none;
}

.highlight-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

.checkout-btn {
  margin-top: 20px;
  padding: 20px 0;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.15, 0.83, 0.66, 1);
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  border: none;
  justify-content: center;
  fill: #fff;
  color: #fff;
  border: 2px solid transparent;
  background: #d17842;
  transition: all 200ms;
}
.checkout-btn:active {
  scale: 0.95;
}

 .checkout-btn:hover {
  color: #d17842;
  border: 2px solid #d17842;
  background: transparent;
}