
*, *::before, *::after {
  box-sizing: border-box;
}

body {
    
}

h2 {
    color: #480078;
    text-align: center;
    margin-bottom: 20px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.form-control {
    padding: 10px;
    margin: 6px 0;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
}

input[type="button"].btn-orange {
    background: linear-gradient(-45deg, #968eed 0%, #d8449f 25%, #480078 50%, #480078 75%, #bc1888 100%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
}

input[type="button"].btn-orange:hover {
    opacity: 0.9;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 1px solid #762B84;
    border-radius: 5px;
    background: #FFF7FF;
  table-layout: auto;
  width: 100%;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

table tr:hover {
    background-color: #9dea8538;
}

table th {
    background-color: #480078;
    color: #fff;
    font-weight: bold;
}

.form-control {
    padding: 10px;
    margin: 6px 0;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a {
    margin: 0 4px;
    padding: 6px 12px;
    background: #480078;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

.pagination a.active {
    background: #d8449f;
}

.pagination a:hover {
    background: #bc1888;
}
.search-tabs .tab:first-child {
  margin-left: 0px;
}
.search-tabs {
  display: flex;
  justify-content: flex-start; /* 👈 ето го важното */
  gap: 0px;
  margin-bottom: 0px; /* за да прилепне към полето */
}

.search-tabs .tab {
  padding: 10px 16px;
  background: #e0e0e0;
  color: #3b3937;
  border: 2px solid #3b3937;
  border-bottom: none;
  margin-bottom: -10px;
  margin-left: 7px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.search-tabs .tab.active {
  background: #faf7ff;
  border: 2px solid #968eed;
  border-bottom: none;
  color: #480078;
  font-weight: bold;
  z-index: 2;
}

.search-form-box {
  border: 2px solid #968eed;
  border-radius: 0 0px 12px 12px;
  background: #faf7ff;
  padding: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.search-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  min-width: max-content;
}

.search-tabs .tab {
  margin-top: 4px;
}

.search-form-box {
  transition: margin-top 0.3s ease;
  margin-top: 4px;
  flex: 1;
}

.search-form-box.lifted {
  margin-top: 0;
}

.search-form-box input[type="text"] {
  flex: 1;
}

.search-form-box button {
	color: white;
    padding: 10px 20px;
    font-size: 14px;
  background: linear-gradient(135deg, #968eed, #bc1888);
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.search-form-box button:hover {
  background: #d4d4d4;
  color: white;
}

.search-form-box button.active {
  background: linear-gradient(135deg, #968eed, #bc1888);
  color: white;
}

#searchButton {
    background: linear-gradient(135deg, #968eed, #bc1888);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.4s ease, transform 0.2s ease;
    animation: blink 2s infinite;
}

#searchButton:hover {
    background: linear-gradient(135deg, #bc1888, #968eed);
    transform: scale(1.03);
}

