/* ============================================
   COUNTRY AUTOCOMPLETE - Specialized Styles
   ============================================ */

   .autocomplete-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .autocomplete-wrapper label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
  }
  
  .autocomplete-wrapper input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
  }
  
  .autocomplete-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color, #667eea);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  }
  
  .autocomplete-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: -1px;
  }
  
  .dropdown-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .dropdown-item:hover,
  .dropdown-item.selected {
    background-color: #f7f7f7;
  }
  
  .dropdown-item:last-child {
    border-bottom: none;
  }
  
  .dropdown-item.no-results,
  .dropdown-item.loading {
    color: #999;
    cursor: default;
    justify-content: center;
  }
  
  .dropdown-item.no-results:hover,
  .dropdown-item.loading:hover {
    background-color: transparent;
  }
  
  .country-name {
    font-size: 0.875rem;
    color: #333;
  }
  
  /* Scrollbar styling */
  .autocomplete-dropdown::-webkit-scrollbar {
    width: 8px;
  }
  
  .autocomplete-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  .autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 0.25rem;
  }
  
  .autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background: #555;
  }