﻿.search-container {
  padding: 30px 0px;  /* Changed from padding: 20px */
  width: 100%;
  background: #f8f9fa;
  font-size: 24px;  /* Increase icon size */

}

.search-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #245194;
  font-size: 34px;  /* Increase icon size */
}

.search-input {
  width: 100%;
  padding: 15px 20px 15px 50px;
  border: 2px solid #eee;
  border-radius: 1px;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
  background: white;
}

.search-input:focus {
  border-color: #245194;
  box-shadow: 0 0 8px rgba(36, 81, 148, 0.2);
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .search-container {
    padding: 15px ;
  }
  
  .search-input {
    padding: 12px 15px 12px 45px;
    font-size: 14px;
  }
}

/* iOS Specific Styles */
@supports (-webkit-touch-callout: none) {
  .search-input {
    -webkit-appearance: none;
  }
}
@media (max-width: 768px) {
  .search-container {
    padding: 20px 1px;  /* Controls left/right spacing for tablets */
  }
}

@media (max-width: 480px) {
  .search-container {
    padding: 20px 1px;  /* Controls left/right spacing for phones */
  }
}

.content-description {
  padding: 40px 20px;
  background: white;
  text-align: center;
}

.content-description h1 {
  color: #245194;
  font-size: 2em;
  margin-bottom: 20px;
}

.content-description p {
  color: #48535e;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.features ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.features li {
  color: #48535e;
  font-size: 1.1em;
}

@media (max-width: 768px) {
  .content-description {
    padding: 30px 15px;
  }
  
  .content-description h1 {
    font-size: 1.5em;
  }
  
  .features li {
    font-size: 1em;
  }
}

        .searchairports {
            width: 95%;
            max-width: 900px;
            margin: 2rem auto;
            overflow-x: hidden;
        }

        #searchInput {
            width: 100%;
            max-width: 900px;
            padding: 8px 15px;
            margin: 8px 0;
            border: 2px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            box-sizing: border-box;
        }

        table {
            width: 100%;
            max-width: 900px;
            margin: 1rem 0;
            border-collapse: separate;
            border-spacing: 0;
            background-color: white;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
            overflow-x: auto;
        }

        th, td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #ddd;
            font-size: 14px;
            white-space: nowrap;
        }

        td {
            border-right: 1px solid #ddd;
        }

        td:last-child {
            border-right: none;
        }

        th {
            background-color: #003da5;
            color: white;
            cursor: pointer;
            border-right: 1px solid #003da5;
            position: relative;
            padding-right: 25px;
        }

        th:last-child {
            border-right: none;
        }

        .sort-icon {
            font-size: 12px;
            margin-left: 5px;
            display: inline-block;
            transition: transform 0.2s;
        }

        th[data-order="asc"] .sort-icon {
            transform: rotate(180deg);
        }

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

        .pagination button {
            padding: 8px 12px;
            border: 1px solid #ddd;
            background: white;
            cursor: pointer;
            border-radius: 4px;
        }

        .pagination button.active {
            background: #003da5;
            color: white;
            border-color: #003da5;
        }

        .pagination button:hover {
            background: #f5f5f5;
        }

        .pagination button.active:hover {
            background: #033891;
        }

        @media screen and (max-width: 600px) {
            .searchairports {
                width: 98%;
                margin: 1rem auto;
            }

            th, td {
                padding: 8px;
                font-size: 13px;
            }

            #searchInput {
                padding: 6px 10px;
                font-size: 13px;
            }
        }


.content-descriptions {
    padding: 20px;
    margin: 20px 0;
}
