:root {
  /* Color palette */
  --primary-color: #4361ee;
  --secondary-color: #3f37c9;
  --accent-color: #4cc9f0;
  --success-color: #4caf50;
  --warning-color: #f8961e;
  --danger-color: #f94144;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --text-color: #2b2d42;
  --text-light: #8d99ae;
  --background-color: #f8f9fa;
  --card-background: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --border-color: #e9ecef;
}

/* Base Styles */
body {
  margin: 0;
  padding: 0 0 5em;
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, p {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5 {
  color: var(--dark-color);
  font-weight: 600;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

/* Service Cards */
.services-wrapper {
  width: 100%;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--text-light) var(--light-color);
}

.services-wrapper::-webkit-scrollbar {
  height: 8px;
}

.services-wrapper::-webkit-scrollbar-track {
  background: var(--light-color);
  border-radius: 4px;
}

.services-wrapper::-webkit-scrollbar-thumb {
  background: var(--text-light);
  border-radius: 4px;
}

.services-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--text-color);
}

.services-container {
  display: flex;
  gap: 15px;
  padding: 0 15px 15px;
}

.service-card {
  flex: 0 0 auto;
  width: 200px;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-color);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(67, 97, 238, 0.15);
}

.service-image-container {
  width: 100%;
  height: 150px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-color);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-details {
  padding: 12px;
}

.service-title {
  font-size: 16px;
  color: var(--dark-color);
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-light);
}

.service-seller, .service-price {
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-button {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background-color: var(--primary-color);
  color: white !important;
  text-align: center;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.view-button:hover {
  background-color: var(--secondary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Service Detail Page */
.service-detail-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.service-detail-header {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.service-detail-container .service-title {
  font-size: 28px;
  margin-bottom: 10px;
}

.service-detail-container .service-meta {
  display: flex;
  gap: 20px;
  font-size: 16px;
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.service-image-wrapper {
  height: 400px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-color);
}

.service-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.service-main-image:hover {
  transform: scale(1.02);
}

.service-description h3 {
  font-size: 20px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
}

.service-description p {
  font-size: 16px;
  line-height: 1.6;
}

.service-location {
  grid-column: 1 / -1;
  margin-top: 20px;
}

.service-location h3 {
  font-size: 20px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
}

.service-map {
  width: 100%;
  height: 600px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-color);
  margin-bottom: 15px;
}

.coordinates {
  display: inline-block;
  padding: 10px 15px;
  background: var(--light-color);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-light);
}

/* Map Section */
.map-section {
  /*max-width: 1200px;*/
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 20px;
}

.map-wrapper {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
  margin: 20px 0;
}

.map-view {
  width: 100%;
  height: 600px;
  border-bottom: 1px solid var(--border-color);
}

.map-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.refresh-button, .back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.refresh-button {
  background: var(--primary-color);
  color: white;
  border: none;
}

.refresh-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.back-button {
  background: var(--light-color);
  color: var(--text-color);
  text-decoration: none;
}

.back-button:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

/* Cost Calculation */
.cost-calculation {
  width: 100%;
  padding: 20px;
  margin: 30px 0 0;
  background: var(--light-color);
  box-shadow: 0 2px 10px var(--shadow-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  box-sizing: border-box;
}

.cost-calculation h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.calculation-result {
  min-height: 80px;
  padding: 15px;
  margin: 15px 0;
  background: var(--card-background);
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}



/* calc result */
/* --- General Result Styling --- */
.calculation-summary {
  background-color: var(--bg-light);
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px; /* Spasi antara summary dan note */
}

.summary-item {
  display: flex;
  justify-content: space-between; /* Untuk meletakkan label dan value di ujung berlawanan */
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color); /* Pembatas antar item */
}

.summary-item:last-child {
  border-bottom: none; /* Hapus border di item terakhir */
}

.summary-label {
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px; /* Spasi antara ikon dan teks */
  font-size: 0.95rem;
  flex-shrink: 0; /* Mencegah label menyusut */
}

.summary-label i {
  color: var(--primary-color); /* Warna ikon */
  font-size: 1.1rem;
}

.summary-value {
  font-weight: 700; /* Sedikit lebih tebal dari 600 */
  color: var(--text-color);
  font-size: 1.05rem; /* Sedikit lebih besar */
  text-align: right;
  flex-grow: 1; /* Memungkinkan value mengambil sisa ruang */
}

.calculation-note {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: right;
  padding-top: 5px; /* Spasi di atas note */
}

/* --- Message / Error Styling --- */
.result-message {
  font-size: 0.95rem;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
  justify-content: center;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
}

.result-message.error {
  color: var(--error-color);
  background-color: rgba(var(--error-color-rgb), 0.08); /* Background merah transparan */
  border-color: var(--error-color);
}

.result-message.error i {
  color: var(--error-color);
}





/* gunakan lokasi saat ini */
.use-location-btn {
    margin-left: 6px;
    font-size: 0.95em;
    text-decoration: none;
    cursor: pointer;
    color: #007bff;
    display: block;
}
.use-location-btn:hover {
    color: #0056b3;
}






.calculate-button {
  width: 100%;
  padding: 12px 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.calculate-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

/* Ribbon Styles */
.provider-ribbon {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 0;
  background: var(--dark-color);
  color: var(--light-color);
  border-top: 1px solid var(--border-color);
  z-index: 1000;
  font-size: 13px;
}

.ribbon-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ribbon-text {
  font-weight: 400;
  opacity: 0.9;
}

.ribbon-button {
  color: var(--light-color);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.ribbon-button:hover {
  border-bottom-color: var(--light-color);
  opacity: 1;
  color: white !important;
  text-decoration: none;
}

/* User Ribbon */
.user-ribbon {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(5px);
  box-sizing: border-box;
}

.user-ribbon .ribbon-content {
  justify-content: space-between;
}

.welcome-text {
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  margin-left: 15px;
  flex-grow: 1;
}

.logout-btn {
  color: #e74c3c;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.logout-btn:hover {
  background-color: rgba(231, 76, 60, 0.1);
  transform: translateY(-1px);
}

/* Navigation Drawer */
.hamburger-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1100;
  color: #333;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.navigation-drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  padding-top: 60px;
  background: white;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  z-index: 1050;
  transition: transform 0.3s ease;
}

.drawer-content {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  border-radius: 4px;
  margin-bottom: 5px;
  transition: all 0.2s ease;
}

.nav-item:hover {
  background-color: #f5f5f5;
  color: #2c3e50;
}

.nav-item i {
  width: 20px;
  text-align: center;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Active States */
body.drawer-open .navigation-drawer {
  transform: translateX(280px);
}

body.drawer-open .overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.drawer-open .hamburger-btn {
  transform: rotate(90deg);
  color: #e74c3c;
}

/* Form Styles */
.form-box {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow-color);
  border: 1px solid var(--border-color);
}

.form-box h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.error, .success {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  border-left: 4px solid;
}

.error {
  background-color: #fee2e2;
  color: var(--danger-color);
  border-left-color: var(--danger-color);
}

.success {
  background-color: #dcfce7;
  color: var(--success-color);
  border-left-color: var(--success-color);
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--light-color);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.password-strength {
  margin-top: 0.5rem;
  height: 4px;
  background: var(--light-color);
  border-radius: 2px;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
}

.password-strength.weak .password-strength-bar {
  width: 30%;
  background: var(--danger-color);
}

.password-strength.medium .password-strength-bar {
  width: 60%;
  background: var(--warning-color);
}

.password-strength.strong .password-strength-bar {
  width: 100%;
  background: var(--success-color);
}

.password-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  display: none;
}

.form-group:focus-within .password-hint {
  display: block;
}

.turnstile-container {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}

button[type="submit"] {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

button[type="submit"]:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.divider::before, .divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.divider::before {
  margin-right: 1rem;
}

.divider::after {
  margin-left: 1rem;
}

.links {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.links a {
  color: var(--primary-color);
  font-weight: 500;
}

.links a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

input[type="tel"] {
  letter-spacing: 0.5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .service-content {
    grid-template-columns: 1fr;
  }

  .service-description {
    grid-column: 1;
  }

  .service-image-wrapper {
    height: 300px;
  }

  .map-section {
    padding: 0 15px;
  }

  .map-actions {
    flex-direction: column;
    align-items: center;
  }

  .refresh-button, .back-button {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .provider-ribbon {
    padding: 8px 0;
  }

  .provider-ribbon .ribbon-content {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .ribbon-button {
    padding: 2px 0;
  }

  .user-ribbon {
    padding: 10px 15px;
  }
  
  .welcome-text, .logout-btn {
    font-size: 0.85rem;
  }
  
  .welcome-text {
    margin-left: 10px;
  }

  .form-box {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .form-box h3 {
    font-size: 1.5rem;
  }
}

@media (min-width: 769px) {
  .hamburger-btn {
    display: none;
  }
  
  .navigation-drawer {
    position: static;
    width: 100%;
    height: auto;
    padding-top: 0;
    background: transparent;
    box-shadow: none;
    transform: none !important;
  }
  
  .drawer-content {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .nav-item {
    margin-bottom: 0;
    padding: 8px 12px;
  }
  
  .overlay {
    display: none;
  }
}


/* Location Input Form Styles */
.location-form-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.form-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    font-size: 1rem;
    z-index: 1;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-input {
        padding: 0.65rem 0.9rem 0.65rem 2.25rem;
        font-size: 0.9rem;
    }
    
    .input-icon {
        font-size: 0.9rem;
        left: 0.9rem;
    }
}

/* Service Management Styles */
.service-management {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.section-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.service-table-container {
    overflow-x: auto;
}

.service-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.table-header-row {
    background-color: var(--light-color);
}

.table-header {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 2px solid var(--border-color);
}

.table-row {
    transition: background-color 0.2s ease;
}

.table-row:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

.table-row:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-row:nth-child(even):hover {
    background-color: rgba(67, 97, 238, 0.05);
}

.table-data {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.coordinate-data {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.coordinate-data i {
    color: var(--danger-color);
}

.price-data {
    font-weight: 600;
    color: var(--primary-color);
}

.action-data {
    display: flex;
    gap: 0.75rem;
}

.action-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.share-btn {
    background-color: rgba(144, 238, 144, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(144, 238, 144, 0.3);
}

.share-btn:hover {
    background-color: rgba(144, 238, 144, 0.2);
}


.edit-btn {
    background-color: rgba(76, 201, 240, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(76, 201, 240, 0.3);
}

.edit-btn:hover {
    background-color: rgba(76, 201, 240, 0.2);
}

.delete-btn {
    background-color: rgba(249, 65, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(249, 65, 68, 0.3);
}

.delete-btn:hover {
    background-color: rgba(249, 65, 68, 0.2);
}

/* Empty State Styles */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-color);
    margin: 2rem 0;
}

.empty-icon {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-title {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.empty-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.primary-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-management {
        padding: 1rem;
    }
    
    .action-data {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .action-btn {
        justify-content: center;
    }
}

/* Service Form Styles */
.service-form-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.form-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-label i {
    width: 20px;
    color: var(--primary-color);
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: var(--light-color);
    box-sizing: border-box;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* File Upload Styles */
.file-upload {
    position: relative;
    overflow: hidden;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
}

.file-upload-label i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.file-upload-button {
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 0.85rem;
}

.file-upload-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Map Styles */
.service-map {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-color);
    margin: 1rem 0;
    border: 1px solid var(--border-color);
}

.map-instruction {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Submit Button */
.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
}

.submit-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.alert-error {
    background-color: rgba(249, 65, 68, 0.1);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.alert i {
    font-size: 1.25rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .service-form-container {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
}


.current-image-preview {
    margin-bottom: 15px;
}

.current-image-preview img {
    max-width: 200px;
    max-height: 150px;
    display: block;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.current-image-label {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.8em;
}

.location-buttons {
    margin-bottom: 15px;
}

.location-button {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.location-button:hover {
    background-color: #e0e0e0;
}

.leaflet-control-zoom {
  z-index: 1;
  display: none;
}

input{
  box-sizing: border-box;
}

.form-group input{

box-sizing: border-box;

}