/**
 * Layout Component: Top Bar
 * File: /assets/css/top-bar.css
 */

.top-bar {
  position: relative;
  width: 100%;
  background: linear-gradient(90deg, #0A2246 0%, #0F2C59 100%);
  color: #E2E8F0;
  font-size: 11px;
  border-bottom: 2px solid #37BCE5;
  padding: 5px 12px;
  z-index: 1001;
}

.top-bar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.top-info span, 
.top-info a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  white-space: nowrap;
}

.top-info i, 
.top-info .dashicons {
  font-size: 13px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.top-social-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-social-links a {
  color: #ffffff !important;
  font-size: 11px !important;
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.18) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.top-social-links a:hover {
  background: #37BCE5 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.btn-siga8 {
  background: rgba(55, 188, 229, 0.15);
  border: 1px solid #37BCE5;
  color: #37BCE5 !important;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
}

.siga8-badge {
  background: #FBC02D;
  color: #0A2246;
  padding: 1px 5px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 800;
}

.search-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-toggle-btn:hover {
  background: #37BCE5;
}

/* Mobile Responsive Optimization Top Bar */
@media screen and (max-width: 768px) {
  .top-info {
    display: none !important;
  }
  .top-bar-container {
    justify-content: space-between !important;
    padding: 0 4px !important;
  }
  .top-bar {
    padding: 4px 8px !important;
  }
  .top-social-links a {
    width: 22px !important;
    height: 22px !important;
    font-size: 10px !important;
  }
}