/* Global Styles */
body {
    font-family: 'Oswald', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #333333;
}

/* Header Layout */
header {
    background-color: #333333; /* Dark grey */
    color: #ffffff; /* White text */
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center; /* Center align the header content */
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

header h1 {
    font-size: 28px;
    margin: 0;
}

/* Filters Section */
.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px;
}

.filters select,
.filters button {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.filters button {
    background-color: #f0aa28; /* Light green */
    color: white;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.filters button:hover {
    background-color: #d88c00; /* Slightly darker green */
}

/* Results Container */
#results {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

/* Result Card */
.result-item {
    background-color: #ffffff;
    margin: 10px 0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.result-item:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* Header of the Card */
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #BBF246; /* Light green */
    color: #333333;
    padding: 10px 15px;
    border-bottom: 2px solid #a2d23c; /* Slightly darker border */
}

.result-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-header span {
    font-weight: 700;
    font-size: 16px;
}

/* Details Section */
.result-details {
    display: none;
    padding: 10px 15px;
    background-color: #fafafa;
    color: #333333;
}

.result-details p {
    margin: 5px 0;
    line-height: 1.4;
}

.result-details p strong {
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .filters {
        flex-direction: column;
        gap: 15px;
    }

    .filters select,
    .filters button {
        width: 100%;
    }

    header h1 {
        font-size: 24px;
    }
}
