
/* Flash News Marquee Scrolling */
.flash-news-marquee {
  background: #d32f2f;
  color: white;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}

.marquee-container {
  display: flex;
  align-items: center;
}

.marquee-label {
  background: #b71c1c;
  padding: 8px 15px;
  font-weight: bold;
  font-size: 14px;
  margin-right: 10px;
}

.marquee-content {
  flex: 1;
  overflow: hidden;
}

.marquee-scroll {
  display: inline-block;
  animation: scroll-left 120s linear infinite;
  padding-left: 100%;
}

/* Pause animation on hover */
.marquee-scroll:hover {
  animation-play-state: paused;
}

.news-item a {
  color: white;
  text-decoration: none;
  margin-right: 5px;
}

.news-item a:hover {
  text-decoration: underline;
}

.separator {
  margin: 0 5px;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ========================================
   Search Autocomplete Styles
   ======================================== */

#header-search-wrapper {
    position: relative;
}

#header-search-wrapper form {
    display: flex;
    align-items: center;
}

#header-search-wrapper input[type="text"] {
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    width: 180px;
    transition: all 0.3s ease;
}

#header-search-wrapper input[type="text"]:focus {
    border-color: #007b5e;
    width: 220px;
    box-shadow: 0 0 0 2px rgba(0, 123, 94, 0.1);
}

#header-search-wrapper button {
    background: #007b5e;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

#header-search-wrapper button:hover {
    background: #006b52;
}

.search-suggestions-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 350px;
    overflow-y: auto;
    z-index: 9999;
    min-width: 280px;
}

.suggestion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
    background: #f8f9fa;
}

.suggestion-item.active {
    background: #e8f5e9;
}

.suggestion-title {
    flex: 1;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}

.suggestion-type {
    font-size: 11px;
    color: #666;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.suggestion-all {
    background: #f8f9fa;
    font-weight: 500;
    color: #007b5e;
    border-top: 2px solid #007b5e;
}

.suggestion-all:hover {
    background: #e8f5e9;
}

.suggestion-all i {
    margin-right: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #header-search-wrapper input[type="text"] {
        width: 140px;
    }
    
    #header-search-wrapper input[type="text"]:focus {
        width: 160px;
    }
    
    .search-suggestions-dropdown {
        min-width: 250px;
        left: auto;
        right: 0;
    }
}