/* Basic styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    padding: 10px;
    background-color: #007bff;
    color: white;
    text-align: center;
}

#activities {
    padding: 10px;
}

.activity-item {
    padding: 10px;
    background-color: #f1f1f1;
    margin-bottom: 10px;
    cursor: pointer;
}

.activity-item:hover {
    background-color: #e0e0e0;
}

/* Styling for the Add Activity button and text */
.add-activity-container {
    position: fixed;
    bottom: 80px; /* Adjust this value based on your layout */
    right: 20px; /* Positioning from the right */
    display: flex; /* Use flexbox layout */
    align-items: center; /* Center vertically */
}

.add-activity-text {
    font-size: 16px; /* Adjust font size as needed */
    color: lightgray; /* Color of the text */
    margin-right: 50px; /* Space between text and button */
}

.add-activity-btn {
    background-color: #007bff; /* Background color */
    color: white; /* Text color */
    border: none; /* No border */
    border-radius: 50%; /* Round button */
    width: 50px; /* Fixed width */
    height: 50px; /* Fixed height */
    font-size: 24px; /* Font size for the plus sign */
    cursor: pointer; /* Pointer cursor on hover */
}


/* Popup styling */
#add-activity-popup, #edit-activity-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

#add-activity-popup.hidden, #edit-activity-popup.hidden {
    display: none;
}

button#close-popup-btn, button#close-edit-popup-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Bottom navigation styling */
#bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #007bff;
    color: white;
    display: flex;
    justify-content: space-around;
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

#bottom-nav.hidden {
    display: none;
}

/* Action buttons container */
.action-buttons {
    display: flex;
    gap: 10px; /* Space between buttons */
}

/* Individual action buttons */
.action-buttons button {
    display: flex;
    align-items: center;
    gap: 5px; /* Space between image and text */
    background-color: transparent;
    border: none;
    cursor: pointer;
}

/* Action button icon styles */
.action-buttons img {
    width: 30px;
    height: 30px;
}

/* Style for the navigation buttons */
.nav-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    border: none;
}

/* Hidden class for bottom nav */
.hidden {
    display: none;
}

.activity-item {
    padding: 10px;
    border: 1px solid #ccc;
    margin: 5px 0;
    cursor: pointer;
}

.add-activity-btn {
    position: fixed;
    bottom: 80px; /* Adjusted to not overlap with the bottom nav */
    right: 20px;
    font-size: 24px;
}

/* Make the menu font size smaller */
.nav-btn {
    font-size: 12px; /* Adjust size as needed */
}

/* Style for the bottom navigation container */
#bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f1f1f1;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ccc;
}
