.success {
    color: green;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
}

.error {
    color: red;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
}

.info {
    color: blue;
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
}

.warning {
    color: orange;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

    /* Top Bar */
    .top-bar {
      background: #3e3e3f;
      border-bottom: 1px solid #e0e0e0;
      padding: 8px 0;
      font-size: 12px;
    }

    .top-bar-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .top-right {
      display: flex;
      align-items: center;
      gap: 20px;
      font-size: 14px;
    }

    .social-icons {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .social-icons a {
      color: #ffffff;
      text-decoration: none;
      font-size: 16px;
      transition: color 0.3s;
    }

    .social-icons a:hover {
      color: var(--primary);;
    }

    .top-left {
      display: flex;
      gap: 20px;
    }

    .top-left a {
      color: #f1f1f1;
      text-decoration: none;
      transition: color 0.3s;
      position: relative;
      font-size: 14px;
    }

    .top-left a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 1px;
      transition: width 0.3s ease;
    }

    .top-left a:hover {
      color: var(--primary);
    }

    .top-left a:hover::after {
      width: 100%;
    }

    .language-selector {
      display: flex;
      gap: 15px;
      align-items: center;
    }

    .language-selector::before {
      content: '';
      width: 1px;
      height: 14px;
      background: #ffffff;
      display: block;
    }

    .language-selector a {
      color: #fbfbfb;
      text-decoration: none;
      font-size: 13px;
      transition: color 0.3s;
      position: relative;
    }

    .language-selector a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 1px;
      background: var(--primary);
      transition: width 0.3s ease;
    }

    .language-selector a:hover {
      color: var(--primary);
    }

    .language-selector a:hover::after {
      width: 100%;
    }

    .language-selector a.active {
      color: var(--primary);
      font-weight: 600;
    }

    .language-selector a.active::after {
      width: 100%;
    }

    /* Main Navbar */
    .navbar {
      background: #ffffff;
      border-bottom: 1px solid #e0e0e0;
      position: sticky;
      top: 0;
      z-index: 999;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-container {
      max-width: 1400px;
      min-height: 72px;
      margin: 0 auto;
      padding: 15px 20px;
      display: flex;
      align-items: center;
      gap: 30px;
    }

    .logo-img {
      display: block;
      height: 56px;   /* desktop Ã¼Ã§Ã¼n */
      width: auto;
      max-height: 100%;
      object-fit: contain;
    }
    
    @media (max-width: 768px) {
      .logo-img {
        height: 42px; /* mobil Ã¼Ã§Ã¼n */
      }
    }



    
    
    .logo-link {
      display: flex;
      align-items: center;
      z-index: 1001;
    }
    



    .nav-center {
      flex: 1;
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .nav-menu {
      display: flex;
      list-style: none;
      gap: 25px;
    }

    .nav-menu a {
      color: #333;
      text-decoration: none;
      font-size: 15px;
      transition: color 0.3s;
      position: relative;
    }

    .nav-menu a::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 1px;
      background: var(--primary);
      transition: width 0.3s ease;
    }

    .nav-menu a:hover {
      color: #000;
    }

    .nav-menu a:hover::after {
      width: 100%;
    }

    .search-box {
      flex: 1;
      max-width: 400px;
      position: relative;
    }

    .search-input {
      width: 100%;
      padding: 10px 40px 10px 15px;
      border: 1px solid #dddddd80;
      border-radius: 4px;
      font-size: 14px;
      transition: border-color 0.3s;
    }

    .search-input:focus {
      outline: none;
      border-color: #99999973;
    }

    .search-icon {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: #666;
    }

    .nav-icons {
      display: flex;
      gap: 20px;
      align-items: center;
      margin-left: auto;  
    }

    .icon-btn {
      background: none;
      border: none;
      cursor: pointer;
      color: #333;
      font-size: 20px;
      transition: color 0.3s;
      position: relative;
    }

    .icon-btn:hover {
      color: #000;
    }

    .right_icon{
      font-size: 1.3rem;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 5px;
    }

    .hamburger span {
      width: 25px;
      height: 2px;
      background: #333;
      transition: all 0.3s;
    }

    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(7px, 7px);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Mobile Menu */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: -100%;
      width: 80%;
      max-width: 320px;
      height: 100vh;
      background: white;
      transition: left 0.3s;
      overflow-y: auto;
      z-index: 1001;
    }

    .mobile-menu.active {
      left: 0;
    }

    .mobile-menu-header {
      padding: 20px;
      border-bottom: 1px solid #e0e0e0;
    }

    .mobile-menu-content {
      padding: 20px;
    }

    .mobile-top-links {
      padding: 5 0 5 0;
      border-top: 1px solid #e0e0e0;
      border-bottom: 1px solid #e0e0e0;
    }

    .mobile-top-links a {
      display: block;
      padding: 10px 0;
      color: #666;
      text-decoration: none;
      font-size: 15px;
    }

    .mobile-search {
      margin-bottom: 20px;
    }

    .mobile-nav-menu {
      list-style: none;
    }

    .mobile-nav-menu li {
      margin-bottom: 5px;
    }

    .mobile-nav-menu a {
      display: block;
      padding: 12px 0;
      color: #333;
      text-decoration: none;
      font-size: 16px;
    }

    .mobile-language {
      margin-top: 20px;
      padding-top: 20px;
    }

    .mobile-language-title {
      font-size: 14px;
      color: #666;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      padding: 10px 0;
    }

    .mobile-language-list {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }

    .mobile-language-list.active {
      max-height: 300px;
    }

    .mobile-language-list a:last-child {
      border-bottom: none;
    }

    .mobile-language-list a {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      transition: all 0.3s;
      font-size: 14px;
    }

    .mobile-language a {
      display: block;
      padding: 10px 0;
      color: #333;
      text-decoration: none;
      font-size: 14px;
    }

    .mobile-social {
      margin-top: 20px;
      padding-top: 20px;
      border-top: 1px solid #e0e0e0;
    }

    .mobile-social-title {
      font-size: 14px;
      color: #666;
      margin-bottom: 15px;
    }

    .mobile-social-icons {
      display: flex;
      gap: 20px;
    }

    .mobile-social-icons a {
      color: #333;
      text-decoration: none;
      font-size: 24px;
      transition: transform 0.3s;
    }

    .mobile-social-icons a:hover {
      transform: scale(1.1);
    }

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(0,0,0,0.5);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
      z-index: 1000;
    }

    .overlay.active {
      opacity: 1;
      visibility: visible;
    }

    /* Responsive */
    @media (max-width: 968px) {
      .top-bar {
        display: none;
      }

      .nav-container {
        gap: 15px;
      }

      .nav-center {
        display: none;
      }

      .hamburger {
        display: flex;
        order: -1;
      }

      .logo {
        flex: 1;
        text-align: center;
      }

      .nav-icons {
        gap: 15px;
      }

      .icon-btn {
        font-size: 18px;
      }
    }




/* Profile Dropdown Styles */
.profile-dropdown {
  position: relative;
}

.profile-btn {
  display: flex;
  gap: 6px;
  color: #ffffff;
  cursor: pointer;
  padding: 8px 14px;
  font-size: 14px;
  border: none;
  transition: all 0.3s;
}

.profile-btn:hover {
  color: #757575;
}

.profile-btn i:first-child {
  font-size: 15px;
  padding-top:1px;
}

.profile-btn i:last-child {
  font-size: 9px;
  padding-top:5px;
  transition: transform 0.3s;
}

.profile-btn.active i:last-child {
  transform: rotate(180deg);
}

.profile-menu {
  position: absolute;
  top: 100%;
  left: 1%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.profile-menu a:last-child {
  border-bottom: none;
}

.profile-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f0f0f0;
}

.profile-menu-item:hover {
  color: #C89959;
}

.profile-menu-item i {
  font-size: 15px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-btn span {
    display: none;
  }
  
  .profile-menu {
    right: -10px;
  }
}

.language-link{
  cursor: pointer;
  align-items: center;

}

.language-link img{
  width: 20px; 
  height: auto;
}