/* Aerodromi u regionu */
.airport-directory-container {
    margin-top: 20px;
    font-family: inherit;
}

.directory-meta {
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-end;
}

.update-badge {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.update-badge i {
    color: #081266;
}

.notes-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.note-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #475569;
}

.status-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.status-redovno {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-sezonski {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.filter-controls {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-box-wrapper {
    position: relative;
    width: 100%;
}

.search-box-wrapper input {
    width: 100%;
    padding: 14px 45px 14px 40px;
    font-size: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    background-color: #fff;
    color: #1e293b;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.search-box-wrapper input:focus {
    outline: none;
    border-color: #081266;
    box-shadow: 0 0 0 3px rgba(8, 18, 102, 0.15);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}

.clear-search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.clear-search-btn:hover {
    color: #64748b;
}

.country-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.country-tab {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.country-tab:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.country-tab.active {
    background: #081266;
    border-color: #081266;
    color: #fff;
}

.country-title {
    font-size: 20px;
    font-weight: 700;
    color: #081266;
    margin: 35px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.airports-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .airports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.airport-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.airport-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    border-color: #cbd5e1;
}

.airport-card-header {
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.airport-name-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.plane-icon {
    color: #081266;
    font-size: 18px;
}

.airport-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.izvor-link {
    font-size: 12px;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.izvor-link:hover {
    text-decoration: underline;
}

.airport-card-body {
    padding: 20px;
}

.airlines-section {
    margin-bottom: 15px;
    background: #f8fafc;
    border-left: 3px solid #081266;
    padding: 10px 15px;
    border-radius: 0 6px 6px 0;
}

.section-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.airlines-text {
    margin: 0;
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
}

.destinations-section {
    margin-top: 15px;
}

.destinations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.toggle-destinations-btn {
    background: none;
    border: none;
    color: #081266;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.toggle-destinations-btn:hover {
    background-color: #f1f5f9;
}

.destinations-list {
    max-height: 220px;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    position: relative;
    display: flex;
    flex-direction: column;
}

.destinations-list.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, #ffffff, rgba(255, 255, 255, 0));
    pointer-events: none;
}

.destinations-list.expanded {
    max-height: 5000px;
}

.destination-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.destination-row:last-child {
    border-bottom: none;
}

.destination-row:hover {
    background-color: #f8fafc;
}

.dest-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dest-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.dest-airlines {
    font-size: 12px;
    color: #64748b;
}

.no-results-state {
    text-align: center;
    padding: 50px 20px;
    color: #64748b;
}

.no-results-state i {
    font-size: 40px;
    color: #cbd5e1;
    margin-bottom: 15px;
    display: block;
}

.match-highlight {
    background-color: #fef08a !important;
    border-radius: 4px;
    padding-left: 5px;
    padding-right: 5px;
}

/* ./Aerodromi u regionu */

.uvod {
    height: 155px;
    overflow: hidden;
}

.gradient-bottom-box {
    position: relative;
    margin-top: -20px;
    display: flex;
    align-items: end;
    justify-content: flex-end;
    z-index: 9;
    margin-right: 10px;
}

.gradient-bottom-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    /* Adjust the height of your gradient bar */
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
    pointer-events: none;
    /* Allows user to click through the gradient to select underlying text */
}

.gradient-bottom-box button {
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    padding: 0px;
    line-height: 0;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
}
