/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5f5f5;
}





/* Main Content Styles */
.main-content {
  margin-left: 250px;
  padding: 40px;
}

h1 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #333;
}
/* Highlight selected address */
.address-item.selected {
  background-color: gold;
  color: white;
}
/* Card Styles */
.card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
}

/* Form Styles */
.form-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #000;
}

.icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

/* Address Styles */
.address-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.add-address-btn {
  padding: 8px 16px;
  background: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.add-address-btn:hover {
  background-color: #f5f5f5;
}

.address-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.address-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
}

.address-item:hover {
  background-color: #f5f5f5;
}

.address-item i {
  color: #666;
  margin-top: 3px;
}

.address-item p {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

/* Button Styles */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:disabled {
  background-color: #ddd;
  cursor: not-allowed;
}

#next-btn {
  display: block;
  margin: 0 auto;
  min-width: 120px;
}

#next-btn:disabled {
  background-color: #f5f5f5;
  color: #666;
}

#next-btn:not(:disabled) {
  background-color: #000;
  color: white;
}

.button-group {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.secondary-btn {
  background-color: white;
  border: 1px solid #ddd;
  color: #333;
}

.primary-btn {
  background-color: #000;
  color: white;
}

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

.primary-btn:hover {
  opacity: 0.9;
}

/* Mobile Input Specific Styles */
#mobile-number {
  padding-left: 40px;
}

/* Search Service Styles */
.search-container {
  position: relative;
}

#service-search {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 6px 6px;
  z-index: 1;
  max-height: 200px;
  overflow-y: auto;
}

.dropdown-item {
  padding: 12px;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #f1f1f1;
}




/* Custom message styling */
#success-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #4CAF50;
  color: white;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1000;
  text-align: center;
}





.address-list {
  max-height: 200px; /* Adjust this value as per your UI requirement */
  overflow-y: auto;
  border: 1px solid #ddd; /* Optional: to visually distinguish the scrollable area */
  padding: 10px; /* Optional: for some spacing inside the container */
  border-radius: 5px; /* Optional: for rounded corners */
}

















  /* Sidebar Styles */
.sidebar {
width: 250px;
height: 100vh;
background-color: #000;
color: #fff;
position: fixed;
top: 0;
left: 0;
display: flex;
flex-direction: column;
justify-content: space-between; /* Spaces content evenly */
padding: 20px 0;
}

/* Navigation Links Container */
.sidebar nav {
flex-grow: 1;
padding-top: 147px; /* Adjust space from the top */
}

.sidebar nav ul {
list-style: none;
padding: 0;
margin: 0;
}

.sidebar nav ul li {
padding: 15px 20px; /* Reduce padding */
}

.sidebar nav ul li a {
color: white;
text-decoration: none;
display: flex;
align-items: center;
font-size: 16px;
position: relative;
margin-left: 0.50cm; /* Move buttons 20cm to the right */
transition: color 0.3s ease;
}

.sidebar nav ul li a i {
margin-right: 10px; /* Adjust space between icon and text */
font-size: 18px; /* Reduce icon size */
}

/* Align buttons downward */
.sidebar nav ul li:last-child {
margin-top: auto; /* Push to bottom */
}

/* Classic Hover Effect */
.sidebar nav ul li a:hover {
color: #007bff;
}

.sidebar nav ul li a::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: white;
transition: width 0.3s ease;
}

.sidebar nav ul li a:hover::after {
width: 100%;
}

/* Active Link Styling */
.sidebar nav ul li a.active {
color: #00aaff;
font-weight: bold;
}
/* Dropdown styles */
.ticket-dropdown {
display: none;
position: absolute;
background-color: #000;
min-width: 200px; /* Adjust width to fit icons and text */
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
margin-left: 0.5cm; /* Align with the Tickets button */
list-style: none;
padding: 0;
}

.ticket-dropdown li {
padding: 8px 15px; /* Adjust padding */
}

.ticket-dropdown li a {
color: white;
text-decoration: none;
display: flex;
align-items: center;
font-size: 16px; /* Match sidebar button font size */
padding: 5px 10px;
}

/* Adjust icon spacing */
.ticket-dropdown li a i {
margin-right: 8px; /* Space between icon and text */
}



  /* Move the icon 2cm (20px) to the right */
  #ticket-icon {
      margin-left: 20px;  
      transition: transform 0.3s ease;
  }
  /* Hide dropdown by default */
  .ticket-dropdown {
      display: none;
  }




  