/* 
 * LuvMyRecipe Custom Cookie Consent Banner 
 * Fixed to the bottom of the viewport.
 */
#lmr-cookie-banner {
    position: fixed;
    bottom: -100%; /* Hidden off-screen initially */
    left: 0;
    width: 100%;
    background-color: #fff8dc;
    border-top: 2px dashed saddlebrown;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999999; /* Highest priority to sit above PWA navs */
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: bottom 0.5s ease-in-out;
    font-family: Arial, sans-serif;
}

/* JavaScript applies this class to slide the banner up */
#lmr-cookie-banner.show-banner {
    bottom: 0;
}

.lmr-cookie-content {
    max-width: 1200px;
    text-align: center;
    margin-bottom: 15px;
}

.lmr-cookie-content p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
}

.lmr-cookie-content a {
    color: #ff6347;
    text-decoration: underline;
    font-weight: bold;
}

.lmr-cookie-buttons {
    display: flex;
    gap: 15px;
}

.lmr-cookie-btn {
    padding: 10px 25px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#lmr-cookie-accept {
    background-color: #9caf88; /* LMR Green */
    color: #ffffff;
}

#lmr-cookie-accept:hover {
    background-color: #8b9d79;
}

#lmr-cookie-decline {
    background-color: #f1f1f1;
    color: #333;
    border: 1px solid #ccc;
}

#lmr-cookie-decline:hover {
    background-color: #e2e2e2;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    #lmr-cookie-banner {
        padding: 15px 10px;
    }
    .lmr-cookie-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    .lmr-cookie-btn {
        width: 100%;
    }
}