

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--header);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.site-header .header-inner {
  max-width: 900px;
  margin: auto;
  padding: 8px 14px;
  padding-bottom:0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  
  
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.site-header .brand img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.site-header .brand-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  white-space: nowrap;
  color:var(--text);
}

.site-header .brand-name span {
  color: var(--green);
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header .icon-btn {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: var(--icon-bg);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: .2s ease;
}

.site-header .icon-btn:hover {
  transform: translateY(-2px);
  background: var(--icon-hover);
}

.site-header .login-btn{
    height:30px;
    width:30;
    padding:0 16px;

    border-radius:999px;

    background:#009b4d;
    color:#fff;

    display:flex;
    align-items:center;
    gap:8px;

    font-weight:700;
    text-decoration:none;

    transition:.2s ease;
}
.search-holder.hide-search{
    display:none !important;
}

.site-header .login-btn:hover {
  background: var(--green-dark);
}

.site-header .downmenu {
  margin: auto;
  padding:10px;
  width: 100%;
  position: relative;
  transition: all .3s ease;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
 
}

.downmenu .search-holder {
  box-shadow: var(--shadow-soft);
  border-radius: 10px;
  position: absolute;
  width: 30%;
  background: var(--bg-soft);
  min-height: 400px;
  max-height:700px;
  border: 1px solid var(--border);
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  display: none;
  padding: 10px;
}



.site-header .search-box {
  margin: auto;
  width: 90%;
  max-width: 700px;
}

.site-header .search-holder.active {
  display: block;
}

.site-header .search-box input {
  width: 100%;
  height: 44px;
  border-radius: 9px;
  border: 1px solid var(--border);
  padding: 0 18px;
  outline: none;
  font-size: 14px;
  background: var(--input-bg);
  color: var(--text);
}

.site-header .search-box input::placeholder {
  color: var(--text-muted);
}

.site-header .search-box input:focus {
  border-color: var(--green);
}

.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
  
}

.site-header .nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  transition: .2s ease;
}

.site-header .nav a:hover {
  color: var(--green);
}

.sidebar {
  display: none;
}

.search-btn {
  width: 90%;
  margin: auto;
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.search-tab {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
  border-radius: 14px;
  background: var(--tab-bg);
  color: var(--tab-text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: .25s ease;
}

.search-tab:hover {
  transform: translateY(-2px);
}

.search-tab.active {
  background: var(--tab-active);
  color: var(--tab-active-text);
  box-shadow: 0 8px 20px rgba(37,99,235,.3);
}

.search-results {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: var(--result-bg);
  color: var(--text);
  text-decoration: none;
}

.news-result:hover {
  background: var(--result-hover);
}

.news-result img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  border:1px solid var(--border);
}

.news-result strong {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: var(--text);
}

.news-result small {
  color: var(--text-muted);
  font-size: 12px;
}

.news-result p {
  margin: 5px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.no-result {
  padding: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.team-country{
    display:flex;
    align-items:center;
    gap:6px;

    margin-top:5px;

    color:var(--text-muted);
    font-size:12px;
}

.team-country img{
    width:16px;
    height:16px;
    object-fit:cover;
    border-radius:5px;
}
@media(max-width:1300px) {
.downmenu .search-holder {

width:50%;
}
}
@media(max-width:768px) {
  .downmenu .search-holder {
    width: 100%;
  }

  .site-header .brand-name {
    font-size: 18px;
  }

  .sidebar {
    background: var(--bg-soft);
    font-size: 22px;
    color: var(--text-muted);
    border: none;
    display: block;
  }

  .site-header .brand img {
    width: 40px;
    height: 40px;
  }

  .site-header .login-btn span {
    display: none;
  }

  .site-header .login-btn {
    width: 30px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .site-header .nav {
    gap: 18px;
    overflow-x: auto;
    padding: 0 6px;
  }

  .site-header .nav::-webkit-scrollbar {
    display: none;
  }

  .site-header .nav a {
    white-space: nowrap;
    font-size: 16px;
  }

  .site-header .search-box {
    width: 95%;
  }
}




@media(max-width:600px) {
  .search-btn {
    gap: 8px;
  }

  .search-tab {
    min-width: auto;
    flex: 1;
    font-size: 11px;
  }
}