/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@300;400&display=swap");

/* CSS Variables for Colors */
:root {
  --bg-color: #f8f9fa;
  --header-bg-gradient: #ffffff;
  --header-text-color: #ffffff;
  --header-shadow: rgba(0, 0, 0, 0.2);
  --logo-border: #76c7c0;
  --logo-text-color: #17281f;
  --nav-link-color: #e8f5e9;
  --nav-link-hover-color: #76c7c0;
  --nav-underline-color: #76c7c0;
  --icon-color: #aad8c1;
  --icon-hover-color: #76c7c0;
  --form-bg-gradient: linear-gradient(135deg, #1f2e2b, #324a47);
  --button-bg-gradient: linear-gradient(90deg, #5ba89d, #88d8b0);
  --button-hover-gradient: linear-gradient(90deg, #88d8b0, #5ba89d);
  --footer-bg-gradient: linear-gradient(90deg, #2d3b30 0%, #1b2921 100%);
  --proceed-button-bg-gradient: linear-gradient(90deg, #4caf50, #81c784);
  --proceed-button-hover-gradient: linear-gradient(90deg, #88d8b0, #5ba89d);
}

/* Global styles */
body {
  font-family: "Palatino", serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
}

/* Header styles */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: var(--header-bg-gradient);
  color: var(--header-text-color);
  box-shadow: 0 4px 12px var(--header-shadow);
  position: relative;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  z-index: 1;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--logo-border);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.logo-text {
  font-size: 28px;
  font-weight: bold;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Navigation */
.navigation {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.navigation a {
  position: relative;
  color: var(--nav-link-color);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 5px 10px;
  transition: color 0.3s ease-in-out;
}

.navigation a:hover {
  color: var(--nav-link-hover-color);
}

.navigation a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--nav-underline-color);
  transition: width 0.3s ease-in-out;
}

.navigation a:hover::after {
  width: 100%;
}

.navigation a i {
  font-size: 20px;
  color: var(--icon-color);
  margin-right: 8px;
  transition: color 0.3s ease-in-out;
}

.navigation a:hover i {
  color: var(--icon-hover-color);
}

/* Error Message */
#error-message,
.error-message {
  font-size: 14px;
  margin-top: 5px;
  color: red;
  text-align: center;
}

/* Game Overlay */
#game-overlay {
  display: none; /* Hidden by default */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Fully dark backdrop */
  z-index: 1000;
  color: #fff;
  text-align: center;
}

#cooking-message {
  font-size: 2rem; /* Larger font size */
  font-weight: bold;
  animation: ellipsis 1.5s infinite steps(4, end);
  margin-top: 1em;
}

@keyframes ellipsis {
  0% {
    content: "";
  }
  33% {
    content: ".";
  }
  66% {
    content: "..";
  }
  100% {
    content: "...";
  }
}

/* Hide scrollbar when overlay is active */
body.overlay-active {
  overflow: hidden; /* Prevent scrolling */
}

#snakeCanvas,
#game-feedback {
  background-color: #1a1a1a;
  border: 2px solid #fff;
  display: block;
  margin: auto;
}

#game-feedback {
  font-size: 18px;
  margin-top: 25px;
  color: #a8e6cf;
}

#game-controls {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.control-button {
  background-color: #444;
  border: 2px solid #fff;
  color: white;
  padding: 10px 15px;
  margin: 5px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s;
}

.control-button:active {
  background-color: #666;
}

/* Recommendation Popup */
#recommendation-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1100;
  text-align: center;
  color: black;
}

#recommendation-popup button {
  margin: 5px;
  padding: 10px 20px;
  cursor: pointer;
}

/* Game Wrapper */
.wrapper {
  width: 400px;
  height: 500px;
  background-color: #293447;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

/* Score Details */
.game-details {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  color: #b8c6dc;
  font-weight: 500;
}

/* Game Board */
.play-board {
  flex: 1;
  display: grid;
  grid-template: repeat(20, 1fr) / repeat(20, 1fr);
  background-color: #212837;
  border-radius: 5px;
  margin: 20px 0;
  position: relative;
}

.play-board .food {
  background-color: #ff003d;
}

.play-board .head {
  background-color: #60cbff;
}

/* Arrow Controls */
.controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  gap: 15px;
}

.controls i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #60cbff;
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.controls i:hover {
  background-color: #1e90ff;
}

.controls i:active {
  background-color: #0056b3;
}

.controls div {
  display: flex;
  gap: 10px;
}

/* Form Section */
.form-section {
  background: #e74c3c;
  color: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  width: 320px;
  position: absolute;
  top: 10%;
  margin-right: 80%;
  animation: fadeInUp 1.5s ease-in-out;
}

.form-section:hover {
  box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease, transform 0.2s;
}

.form-container {
  box-sizing: border-box;
  display: flex;
  /* justify-content: center; */
  padding: 0%;
  display: flex;
  flex-direction: column;
}

#event-form {
  box-sizing: border-box;
  padding: 0;
}

.input-group {
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.input-group label {
  display: block;
  color: #000000;
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
  /* margin-left: 20px; */
}

.input-group input,
.input-group textarea {
  width: inherit;
  padding: 14px 10px;
  font-size: 18px;
  border: none;
  border-radius: 10px;
  background-color: #ffffff;
  color: #0b2318;
  box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease, transform 0.2s;
  /* margin-right: 65px; */
}


.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.3);
}

button[type="submit"] {
  background: #07bc0c;
  display: flex;
  margin: 0 auto;
  color: #1f2e2b;
  font-size: 17px;
  font-weight: 600;
  padding: 12px 30px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: "Palatino", serif;
  transition: background 0.4s, transform 0.2s;
  letter-spacing: 1px;
}

/* Loading Feedback */
.loading-container {
  margin-top: 30px;
  text-align: center;
}

.loading-animation {
  width: 100%;
  height: 12px;
  background: #283c38;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
}

.loading-bar {
  width: 0%;
  height: 100%;
  background: #88d8b0;
  animation: loadingBar 3s infinite;
  border-radius: 6px;
}

@keyframes loadingBar {
  0% {
    width: 0%;
  }
  50% {
    width: 70%;
  }
  100% {
    width: 100%;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes backOutUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0);
  }
  to {
    opacity: 1;
    transform: translateY(-60px) scale(1);
  }
}

@keyframes backOutRight {
  from {
    opacity: 0;
    transform: translateX(-20px) scale(0);
  }
  to {
    opacity: 1;
    transform: translateX(60px) scale(1);
  }
}

@keyframes backOutDown {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0);
  }
  to {
    opacity: 1;
    transform: translateY(60px) scale(1);
  }
}

@keyframes backOutLeft {
  from {
    opacity: 0;
    transform: translateX(20px) scale(0);
  }
  to {
    opacity: 1;
    transform: translateX(-60px) scale(1);
  }
}

@keyframes underlineSlideIn {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes fadePulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

/* Fine Dining Section */
.fine-dining {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 80px;
  background-color: #ffffff;
  color: white;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  height: 700px;
}

.fine-dining .dining-text {
  max-width: 50%;
  text-align: right;
  margin-left: auto;
  margin-right: 0;
  display: flex;
}

.dining-text-p{
  font-size: 1.22rem; 
  line-height: 1.8; 
  color: #0b2217; 
  margin-top: 70px; 
  text-align: left;
}

.fine-dining h1 {
  font-size: 64px;
  font-weight: bold;
  margin: 10px 0;
  line-height: 1.2;
  animation: slideIn 1.5s ease-in-out;
  background: linear-gradient(to right, #76c7c0, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fine-dining p {
  font-size: 20px;
  line-height: 1.8;
  margin-top: 20px;
  animation: fadeIn 2s ease-in-out;
}

.game-message {
  font-size: 24px;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-in-out;
}

/* Floating Circular Button Section */
.floating-circle {
  position: fixed;
  bottom: 15%;
  right: 10%;
  z-index: 10;
}

.circle-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #1f2e2b, #324a47);
  color: #5ba89d;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease-in-out;
  text-align: center;
  text-transform: uppercase;
  animation: fadePulse 3s infinite ease-in-out;
}

.circle-button:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  transform: scale(1.2);
}

.menu-item {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #5ba89d, #88d8b0);
  color: #1f2e2b;
  font-size: 14px;
  text-align: center;
  line-height: 80px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transform: scale(0);
  transition: transform 0.3s, background 0.3s, color 0.3s;
}

.menu-item:hover {
  background: linear-gradient(135deg, #88d8b0, #5ba89d);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  transform: scale(1.2);
}

.menu-item:nth-child(1),
.menu-item:nth-child(3) {
  animation: backOutUp 0.5s ease-in-out forwards;
}

.menu-item:nth-child(2),
.menu-item:nth-child(4) {
  animation: backOutRight 0.5s ease-in-out 0.1s forwards;
}

/* Proceed Button */
.proceed-button {
  background: var(--proceed-button-bg-gradient);
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  box-shadow: 0px 4px 15px rgba(76, 175, 80, 0.3);
  transition: all 0.3s ease-in-out;
}

.proceed-button:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer, .tivoli-footer {
  /* background-color: #2d3b30; */
  background-color: #648038;
  color: white;
  text-align: center;
  padding: 10px 0;
  flex-shrink: 0; /* Prevent footer from shrinking */
}
/* General Reset */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container for Header, Content, and Footer */
.content-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

footer {
  margin-top: 50px;
}

.tivoli-footer {
  margin-top: 0;
  padding-top: 0;
}

.footer-container {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--logo-border);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin-top: 25px;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: bold;
  color: var(--logo-text-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 29px;
}

.footer-text {
  font-size: 15px;
  color: #aad8c1;
  max-width: 600px;
  line-height: 1.5;
  margin-top: 10px;
  margin-left: 30px;
}

/* Animations for Footer and Other Elements */
@keyframes fadePulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Styles */

/* Medium Screens (Max Width: 1024px) */
@media (max-width: 1024px) {
  .form-section {
    position: relative;
    top: auto;
    right: auto;
    margin: 20px auto;
    width: 60%;
    padding: 25px;
  }

  .form-container h2 {
    font-size: 26px;
  }

  .form-container p {
    font-size: 14px;
  }

  .input-group input,
  .input-group textarea {
    font-size: 14px;
    padding: 12px 8px;
  }

  button[type="submit"] {
    font-size: 14px;
    padding: 12px 20px;
  }

  .fine-dining h1 {
    font-size: 48px;
  }

  .fine-dining p {
    font-size: 18px;
  }

  /* .dining-text {
    display: none;
  } */
}

/* Small Screens (Max Width: 768px) */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .logo-container {
    margin-bottom: 20px;
  }

  .navigation {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .navigation a {
    font-size: 16px;
    padding: 8px 12px;
  }

  .navigation a i {
    font-size: 18px;
  }

  .form-section {
    width: 90%;
  }

  .fine-dining h1 {
    font-size: 36px;
  }

  .fine-dining p {
    font-size: 16px;
  }

  .input-group input,
  .input-group textarea {
    width: inherit;
    padding: 10px 6px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    background-color: #ffffff;
    color: #0b2318;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease, transform 0.2s;
  }

  button[type="submit"] {
    font-size: 16px;
    padding: 10px 12px;
    display: flex;
    margin: 0 auto;
  }

  .footer-logo-text {
    font-size: 16px;
  }

  .footer-text {
    font-size: 12px;
  }
}

/* Very Small Screens (Max Width: 480px) */
@media (max-width: 480px) {
  .modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    width: 80% !important;
    height: fit-content;
    border-radius: 8px;
    position: relative;
  }

  .form-section {
    padding: 20px;
    width: 100%;
    margin: 0 auto;
  }

  .fine-dining h1 {
    font-size: 24px;
  }

  .fine-dining p {
    font-size: 12px;
  }

  .fine-dining .dining-text {
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: 0;
    display: flex;
    justify-content: center;
  }

  .input-group label {
    font-size: 11px;
  }

  .input-group input,
  .input-group textarea {
    width: inherit;
    padding: 8px 4px;
    font-size: 11px;
    border: none;
    border-radius: 6px;
    background-color: #ffffff;
    color: #0b2318;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease, transform 0.2s;
  }

  button[type="submit"] {
    font-size: 11px;
    padding: 10px 12px;
    display: flex;
    margin: 0 auto;
  }

  .floating-circle {
    position: fixed;
    bottom: 15%;
    right: 8%;
    z-index: 10;
  }

  .footer-logo-img {
    width: 140px !important;
    border: none;
    box-shadow: none;
    margin: 0;
  }

  .footer-logo-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--logo-text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 29px;
  }

  .footer-text {
    font-size: 15px;
    color: #aad8c1;
    max-width: 600px;
    line-height: 1.5;
    margin-top: 10px;
    margin-left: 30px;
  }
}

/* Ultra Small Devices (Max Width: 360px) */
@media (max-width: 360px) {
  .form-section {
    padding: 20px;
    width: 100%;
    margin: 0 auto;
  }

  .fine-dining h1 {
    font-size: 24px;
  }

  .fine-dining p {
    font-size: 12px;
  }

  .dining-text {
    display: none;
  }

  .input-group label {
    font-size: 10px;
  }

  .input-group input,
  .input-group textarea {
    width: inherit;
    padding: 6px 3px;
    font-size: 10px;
    border: none;
    border-radius: 6px;
    background-color: #ffffff;
    color: #0b2318;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease, transform 0.2s;
  }

  button[type="submit"] {
    font-size: 10px;
    padding: 6px 8px;
  }

  .floating-circle {
    position: fixed;
    bottom: 15%;
    right: 8%;
    z-index: 10;
  }

  .footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--logo-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-top: 25px;
  }

  .footer-logo-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--logo-text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 29px;
  }

  .footer-text {
    font-size: 15px;
    color: #aad8c1;
    max-width: 600px;
    line-height: 1.5;
    margin-top: 10px;
    margin-left: 30px;
  }
}

/* Landscape Orientation for Small Devices */
@media (max-width: 480px) and (orientation: landscape) {
  .form-section {
    width: 85%;
    margin: 15px auto;
    padding: 20px;
  }

  .form-container h2 {
    font-size: 20px;
  }

  button[type="submit"] {
    font-size: 12px;
    padding: 10px 12px;
  }
}
/* Prevent scrolling */
body {
  margin: 0;
  padding: 0;
  overflow: hidden; /* Disables scrolling */
  background-color: #f8f9fa; /* Adjust the background color */
}
/* Footer Styling */
.tivoli-footer {
  background-color: #ffffff; /* Dark background */
  color: white;
  text-align: center;
  padding: 30px 0; /* Equal top and bottom padding */
  flex-shrink: 0; /* Prevent footer from shrinking */
  display: flex; /* Flexbox for alignment */
  flex-direction: column;
  align-items: center; /* Center horizontally */
  justify-content: center; /* Center vertically */
}

/* Remove circular border and enhance the logo */
.footer-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img {
  width: 200px; /* Make the logo more prominent */
  height: auto; /* Maintain aspect ratio */
  border: none; /* Remove border */
  box-shadow: none; /* Remove shadow */
  margin: 0; /* Center the logo without additional spacing */
}

/* Hide the text if not required */
.footer-logo-text {
  display: none;
}

/* Footer text adjustments */
.footer-text {
  font-size: 16px;
  color: #aad8c1; /* Softer text color */
  margin-top: 15px; /* Add spacing below the logo */
  line-height: 1.5;
  text-align: center;
}
/* =====================================
   Header Styling
===================================== */
header.site-header {
  background-color: #ffffff; /* Updated background color */
  padding: 15px 20px; /* Add padding for spacing */
  display: flex; /* Use flexbox for alignment */
  align-items: center; /* Center vertically */
  justify-content: flex-start; /* Align items to the left */
}

.header-container {
  display: flex;
  align-items: center; /* Vertically center items */
  gap: 15px; /* Space between logo and text */
}

.logo-img {
  width: 120px; /* Increase logo size */
  height: auto;
  border: none; /* Remove circular border */
  box-shadow: none; /* Remove any shadow */
  margin: 0; /* Remove unnecessary margins */
}

.logo-text {
  font-size: 24px; /* Adjust font size for text */
  font-weight: bold;
  color: white; /* Ensure text contrasts with background */
  text-transform: uppercase;
  letter-spacing: 2px;
}
.modal {
  position: fixed;
  display: none;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  width: 40%;
  height: fit-content;
  border-radius: 8px;
  position: relative;
}

.close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 20px;
  cursor: pointer;
  display: hidden;
}

/* .modal-content {
    max-width: 600px;
    width: 90%;
} */

.tab-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; /* Full width of the parent */
}

.tab-button {
  flex: 1; /* Equal width for both buttons */
  text-align: center;
  padding: 20px;
  font-size: 18px;
  border: none;
  cursor: pointer;
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.tab-button.active {
  color: white;
  border-bottom: 2px solid #000;
  background-color: #648038;
}

.tab-content {
  display: none;
  padding: 10px 20px;
  box-sizing: border-box;
}

.tab-content.active {
  display: block;
}

.location-finder {
  margin-bottom: 20px;
}

.location-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.location-card {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 20px;
}

.last-selection {
  display: inline-block;
  padding: 5px 15px;
  background-color: #fbbf24;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 10px;
}

#locationSearch,
.delivery-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  box-sizing: border-box;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.confirm-button {
  width: 100%;
  padding: 12px;
  background-color: #648038;
  color: white;
  border: none;
  border-radius: 8px;
  z-index: 10000;
  cursor: pointer;
  font-size: 16px;
}

.confirm-button:hover {
  background-color: #333;
}

/* Date and Time Picker Styles */
.pickup-date-time {
  width: 100%; /* Full width */
  padding: 12px; /* Same padding as other inputs */
  border: 1px solid #ddd; /* Consistent border */
  border-radius: 8px; /* Rounded corners */
  margin-bottom: 15px; /* Space below the field */
  box-sizing: border-box; /* Prevent overflow */
  font-size: 16px; /* Adjust font size */
  background-color: #ffffff; /* White background */
  color: #333; /* Text color */
  outline: none; /* Remove outline on focus */
  transition: border-color 0.3s, box-shadow 0.3s; /* Smooth transition */
}

/* Focus Styles for Pickup Date/Time */
.pickup-date-time:focus {
  border-color: var(--button-bg-gradient); /* Highlight border color */
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.3); /* Glow effect */
}

.delivery-date-time {
  width: 100%; /* Full width */
  padding: 12px; /* Same padding as other inputs */
  border: 1px solid #ddd; /* Consistent border */
  border-radius: 8px; /* Rounded corners */
  margin-bottom: 15px; /* Space below the field */
  box-sizing: border-box; /* Prevent overflow */
  font-size: 16px; /* Adjust font size */
  background-color: #ffffff; /* White background */
  color: #333; /* Text color */
  outline: none; /* Remove outline on focus */
  transition: border-color 0.3s, box-shadow 0.3s; /* Smooth transition */
}

/* Focus Styles for Pickup Date/Time */
.delivery-date-time:focus {
  border-color: var(--button-bg-gradient); /* Highlight border color */
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.3); /* Glow effect */
}

/* Date and Time Label */
.form-group label {
  font-size: 14px;
  font-weight: bold;
  color: #666;
  margin-bottom: 5px;
}

.address-box {
  border: 1px solid #DDDDDD;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  background-color: #fff;
  margin: 20px 0;
}

.address-box:hover {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  /* transform: scale(1.02); */
}

.address-box.selected {
  background-color: #d4edda; /* Light green for selected */
  border-color: #28a745; /* Green border for selection */
  color: #155724; /* Green text for selection */
}

#progress-bar-container {
  width: 80%;
  background-color: #f3f3f3;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-top: 20px;
}

#progress-bar {
  height: 15px;
  width: 0%;
  background-color: #4caf50;
  text-align: center;
  line-height: 16px;
  color: white;
  border-radius: 10px;
}