body, html {
    height: 100%;
    margin: 0;
    background-color: #2c3e50; /* Dark background */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #ecf0f1; /* Light text for contrast */
}
.search-container {
    max-width: 500px;
    width: 100%;
    padding: 20px;
}
.card {
    border: 1px solid rgba(255, 255, 255, 0.3); /* Light transparent border */
    border-radius: 20px; /* More rounded corners */
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); /* Glassy shadow */
    backdrop-filter: blur(10px); /* Glassy blur effect */
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.card:hover {
    box-shadow: 0 10px 40px 0 rgba(31, 38, 135, 0.5); /* Enhanced shadow on hover */
}
.card-header {
    background-color: rgba(0, 0, 0, 0.4); /* Darker semi-transparent header */
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 1.3rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.card-header img {
    max-width: 60px;
    margin-bottom: 5px;
    filter: drop-shadow(5px 5px 5px yellow);
    animation: rotateHorizontal 4s infinite linear;
}
@keyframes rotateHorizontal {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}
.card-body {
    padding: 25px;
}
#search-input {
    font-size: 1.2rem; /* Increased font size */
    padding: 15px; /* Increased padding */
    background-color: rgba(255, 255, 255, 0.1); /* Transparent input */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ecf0f1;
}
#search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
#search-input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}
#results-dropdown {
    position: absolute;
    width: calc(100% - 40px); /* Adjusted width to match card padding */
    left: 20px; /* Align with card body padding */
    z-index: 1000;
    max-height: 250px; /* Adjusted max height */
    overflow-y: auto;
    background-color: rgba(255, 255, 255, 0.15); /* Glassy dropdown background */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.list-group-item {
    cursor: pointer;
    background-color: transparent; /* Transparent list items */
    color: #dc3545; /* Red color */
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem; /* Bigger font size */
    font-weight: bold; /* Bold text */
    padding: 12px 15px; /* More padding for easier selection */
}
.list-group-item:last-child {
    border-bottom: none;
}
.list-group-item:hover {
    background-color: rgba(255, 255, 255, 0.3); /* More prominent highlight on hover */
    color: #ffffff;
}
.btn-warning {
    background-color: rgba(255, 193, 7, 0.7) !important; /* Semi-transparent yellow */
    border-color: rgba(255, 193, 7, 0.7) !important;
    color: #212529 !important;
    border-radius: 10px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}
.btn-warning:hover {
    background-color: rgba(255, 193, 7, 0.9) !important; /* Less transparent on hover */
    border-color: rgba(255, 193, 7, 0.9) !important;
}
.form-label {
    color: #bdc3c7; /* Lighter label color */
}
.back-to-home {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}
.back-to-home:hover {
    color: #ffffff;
}
