body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #6bbbae;
    display: flex;
    flex-direction: column;
    align-items: center;
}

img {
    display: block;
    margin-top: 20px;
}

.container {
    max-width: 95%;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tile {
    border: 1px solid #ddd;
    padding: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    min-width: 350px;
    width: 30%;
}

.trip {
    border: 1px solid #ccc;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    padding: 2px 10px;
    margin: 10px;
    flex-basis: calc(33.333% - 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.trip:hover, .trip:focus {
    background-color: #e9f5f2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.search-container {
    width: 80%;
    margin-top: 20px;
    position: relative;
    display: flex;
    align-items: center;
}

#searchBar {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    padding: 10px 60px 10px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    font-size: 16px;
}

.search-emoji-checkbox {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* Emoji Checkbox Styling */
.emoji-checkbox-container {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.emoji-checkbox-container:hover {
    transform: scale(1.05);
}

/* Hide the default checkbox */
.emoji-checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Emoji checkbox */
.emoji-checkbox {
    font-size: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.6;
    transform: scale(1);
}

/* Hover effect */
.emoji-checkbox-container:hover .emoji-checkbox {
    filter: grayscale(50%) brightness(0.9);
    opacity: 0.8;
    transform: scale(1.1);
}

/* When checked - active state */
.emoji-checkbox-container input:checked ~ .emoji-checkbox {
    filter: grayscale(0%) brightness(1.1);
    opacity: 1;
    transform: scale(1.15);
    animation: bounce 0.3s ease-out;
}

/* Bounce animation when activated */
@keyframes bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1.15); }
}

/* Focus styles for accessibility */
.emoji-checkbox-container input:focus-visible ~ .emoji-checkbox {
    outline: 2px solid #4285f4;
    outline-offset: 3px;
    border-radius: 50%;
}

/* Active press effect */
.emoji-checkbox-container:active .emoji-checkbox {
    transform: scale(1.05);
}

.new-badge {
    position: absolute;
    top: -2.5px;
    right: -11px;
    background-color: #DC143C;
    color: white;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 0.6em;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    margin-top: 20px;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

.btn:hover {
    background: linear-gradient(135deg, #ff5252, #e53935);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

.btn:active {
    background: linear-gradient(135deg, #e53935, #d32f2f);
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}