div#zoomketo-tracker {
    font-family: Arial, sans-serif;
    max-width: 100%;
    margin: 7px auto;
    text-align: center;
}
.entry-content h6 {
    margin-bottom: 7px !important;
}
.entry-content h4 {
    margin-bottom: 14px !important;
    margin-top: 21px !important;
}
h4 {
    color: #333;
}
#calorieSummary {
    margin: 0px 0;
    padding: 7px;
    background-color: #5484b4;
    border-radius: 0px;
    font-size: 12px;
    color: #f7f7f7;
    box-shadow: 0 2px 4px #ccc;
    border: 1px solid white;
}
.tracker-section {
    margin: 14px 0;
    padding: 7px;
    background-color: #a7bfd80a;
    border-radius: 0px;
    box-shadow: 0 2px 4px #ccc;
    border: 1px solid white;
}
input#carbsInput[type="number"],
input#proteinInput[type="number"],
input#fatInput[type="number"] {
    padding: 5px;
    margin-left: 49px;
    font-size: 12px;
    width: 170px;
    border: 1px solid #ddd;
    border-radius: 2px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2), 0 1px 3px 0 rgba(0,0,0,0.19);
    height: 24px !important;
}
button {
    padding: 4px;
    margin: 7px;
    font-size: 10px;
    background-color: white;
    color: green;
    border: 1px solid green;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2), 0 1px 3px 0 rgba(0,0,0,0.19);
}
button:hover {
    background-color: #218838;
    color: white;
}
.delete-btn {
    background-color: #fc7777;
    color: white;
    border: 0px;
    font-size: 10px;
    padding: 2px;
    margin-left: 7px;
}
.delete-btn:hover {
    background-color: #cc0000;
}
.plan-add-btn {
    padding: 4px;
    margin-left: 7px;
    font-size: 10px;
    background-color: white;
    color: green;
    border: 1px solid green;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2), 0 1px 3px 0 rgba(0,0,0,0.19);
}
.plan-add-btn:hover {
    background-color: #218838;
    color: white;
}
.placeholder {
    font-size: 12px;
    color: #666;
    margin: 10px 0;
    font-style: italic;
}
.success-message {
    font-size: 12px;
    color: #218838;
    margin: 10px 0;
    font-style: italic;
}
.message {
    margin-top: 0px;
    font-size: 14px;
    color: red;
}
.entries {
    margin-top: 0px;
    font-size: 14px;
}
.entry,
.tracker-entry {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 5px;
    border-bottom: 1px solid #ddd;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.entry .food-name {
    display: flex;
    align-items: center;
}
.tracker-entry .entry-content {
    display: flex;
    align-items: center;
}
.food-image {
    width: 28px;
    height: 35px;
    margin-right: 8px;
    vertical-align: middle;
    float: left;
    border: 1.6px dashed #df1212;
}
.food-image-link {
    display: inline-block;
    text-decoration: none;
    float: left;
}
.food-image-link:hover .food-image {
    opacity: 0.8;
}
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}
div#todaysPlan {
    padding-bottom: 21px;
}
#foodSearch,
#restaurantSearch {
    width: 100%;
    padding: 7px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}
#autocompleteList,
#autocompleteListRestaurants {
    position: absolute;
    width: 94%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
    margin-top: -10px;
}
.autocomplete-item {
    padding: 7px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 12px;
}
.autocomplete-item:hover {
    background-color: #f0f0f0;
}
#foodMacros,
#restaurantMacros {
    margin: 10px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
}
#addMacrosBtn,
#addRestaurantMacrosBtn {
    display: none;
}
div#todaysPlan {
    margin-bottom: -20px;
}
button.food {
    font-size: 16px;
    background-color: #f33804;
    color: white;
    border: 1px solid white;
}
button.food.restaurant {
    background-color: #007bff;
}
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000 !important;
}
.add-some-food {
    font-size: 11px;
}
.progress-bar {
    width: 100%;
    max-width: 600px;
    height: 14px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px auto;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid green;
    border-left: 2px solid green;
    border-right: 3px solid red;
}
.progress-fill {
    height: 100%;
    background-color: #218838;
    transition: width 0.3s ease-in-out;
}
.progress-fill.carbs-exceeded,
.progress-fill.protein-exceeded,
.progress-fill.fat-exceeded {
    background-color: #cc0000;
}

.zkt2-daily-selections {
    text-align: center;
}
.daily-selection-container {
    display: inline-flex;
    gap: 10px;
}
.daily-selection-item {
    position: relative;
    display: inline-block;
}
.daily-selection-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    display: block;
}
.daily-selection-link {
    text-decoration: none;
    display: block;
}
.daily-selection-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    text-align: center;
    font-size: 14px;
}
.daily-selection-link:hover .daily-selection-image {
    opacity: 0.8;
}