@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Bungee+Spice&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cascadia+Code:ital,wght@0,200..700;1,200..700&display=swap');

body { 
    font-family: 'Cascadia Code', sans-serif;
    background: #66b2e8;
    background: linear-gradient(294deg,rgba(102, 178, 232, 1) 19%, rgba(176, 165, 201, 1) 56%, rgba(134, 131, 168, 1) 96%);
    background-attachment: fixed;
    background-size: cover;
    padding: 0;
}
.container {
    width: 90%;
    margin: 20px auto;
}
h1 { 
    font-family: 'Bungee';
    text-align: center; 
    color: rgb(92, 95, 90);
    margin: 0; 
}

.Head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(30px);
    border: 1px solid rgba(124, 122, 122, 0.3);
}

.header-logo {
    height: 60px; 
    margin-left: 25px;
}

.title-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.net-icon {
    height: 30px;
}

.mysql-logo {
    height: 50px;
    margin-right: 25px;
}

.filter-container {
    margin-bottom: 20px;
    text-align: center;
}

.input-wrapper {
    position: relative;
    display: inline-block;
}

#scanSearch {
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.2);
    color: #333;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    width: 300px;
}

#scanSearch:focus {
    border-color: rgba(250, 250, 250, 0.8);
}

.input-wrapper label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #473350;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
}

#scanSearch:focus + label, 
#scanSearch:not(:placeholder-shown) + label {
    top: 0;
    left: 12px;
    font-size: 12px;
    color: #000;
    background: rgba(176, 165, 201, 1); /* Match body background */
    padding: 0 5px;
    border-radius: 5px;
}


#showAllBtn {
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid transparent;
    background-color: rgba(56, 77, 104, 0.7);
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

#showAllBtn:hover {
    background-color: rgba(0, 86, 179, 0.9);
}

#filterCards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-card {
    background-color: #e2eafc;
    color: #444;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    font-size: 14px;
}
.filter-card:hover {
    background-color: #d7e3ff;
    transform: translateY(-2px);
}
.filter-card.active {
    background-color: #007bff;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px; /* Added space from button */
}
.network-card {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    transition: transform 0.2s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.network-card:hover {
    transform: translateY(-10px);
}
.network-card h3 {
    margin-top: 0;
    color: #1E1E1E;
}
.network-card p {
    margin: 5px 0;
    font-size: 14px;
    color: #333333;
}
.network-card p strong {
    color: #000000;
}