.checked {
    color: orange;
  }
  img {
    border-radius: 10%;
  }
  /* The Modal (background) */
 .modal {
   display: none; /* Hidden by default */
   position: fixed; /* Stay in place */
   z-index: 1; /* Sit on top */
   left: 0;
   top: 0;
   width: 100%; /* Full width */
   height: 100%; /* Full height */
   overflow: auto; /* Enable scroll if needed */
   background-color: rgb(0,0,0); /* Fallback color */
   background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
   -webkit-animation-name: fadeIn; /* Fade in the background */
   -webkit-animation-duration: 0.4s;
   animation-name: fadeIn;
   animation-duration: 0.4s
 }

 /* Modal Content */
 .modal-content {
   position: fixed;
   bottom: 0;
   background-color: #fefefe;
   width: 100%;
   -webkit-animation-name: slideIn;
   -webkit-animation-duration: 0.4s;
   animation-name: slideIn;
   animation-duration: 0.4s
 }

 /* The Close Button */
 .close {
   color: white;
   float: right;
   font-size: 28px;
   font-weight: bold;
   margin: 16px;
 }

 .close:hover,
 .close:focus {
   color: #000;
   text-decoration: none;
   cursor: pointer;
 }

 .modal-header {
   padding: 2px 16px;
   background-color: #003366;
   color: white;
 }

 .map-body {
   padding: 2px 16px;
   width: auto;
   height: 300px;
 }

 .modal-footer {
   padding: 2px 16px;
   background-color: #003366;
   color: white;
 }

 /* Add Animation */
 @-webkit-keyframes slideIn {
   from {bottom: -300px; opacity: 0} 
   to {bottom: 0; opacity: 1}
 }

 @keyframes slideIn {
   from {bottom: -300px; opacity: 0}
   to {bottom: 0; opacity: 1}
 }

 @-webkit-keyframes fadeIn {
   from {opacity: 0} 
   to {opacity: 1}
 }

 @keyframes fadeIn {
   from {opacity: 0} 
   to {opacity: 1}
 }
 #open-map {
   display: inline-block;
   align:left;
   margin-right: 40px;
   border-radius: 10px;
 }
 .modern-rating-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', Roboto, sans-serif;
  }

  .form-header {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
  }

  .rating-container {
    margin-bottom: 2rem;
    text-align: center;
  }

  .rating-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    direction: rtl; /* Right-to-left for better UX */
  }

  .rating-stars input {
    display: none;
  }

  .rating-stars label {
    font-size: 2.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
  }

  .rating-stars input:checked ~ label,
  .rating-stars label:hover,
  .rating-stars label:hover ~ label {
    color: #ffc107;
  }

  .rating-stars input:checked + label {
    color: #ffc107;
  }

  

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
  }

  .form-input, .form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s;
  }

  .form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
  }

  .form-textarea {
    min-height: 120px;
    resize: vertical;
  }

  .form-note {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 10px;
    color: #666;
  }

  .form-note i {
    color: #4a90e2;
  }

  .submit-button {
    width: 100%;
    padding: 14px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
  }

  .submit-button:hover {
    background-color: #3a7bc8;
  }

  .submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
  }

  @media (max-width: 480px) {
    .modern-rating-form {
      padding: 1.5rem;
    }
    
    .rating-stars label {
      font-size: 2rem;
    }
  }