/* cookies.css - cookie consent notice bar
 * Markeaton Pharmacy (kod pharmacy CMS)
 *
 * Markup served on every page:
 *   <div class="cookie-message" id="cookie_info">
 *     <div class="pull-left btn-block cookie_info_bar">
 *       <div class="row"> ... <p> ... </p> ... <button class="btn btn-success">Okay</button> ...
 *
 * The bar is pinned to the bottom of the viewport and stays until the
 * visitor submits the "Okay" form (handled by the inline accept-cookies
 * AJAX handler / pharmacy.js, which hides #cookie_info).
 */

.cookie-message {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    width: 100%;
    background: #ffffff;
    border-top: 3px solid #66d0cc;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

.cookie-message .cookie_info_bar {
    width: 100%;
    padding: 14px 0;
}

.cookie-message .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-message p {
    margin: 0;
    padding: 6px 10px 6px 0;
    font-size: 14px;
    line-height: 22px;
    color: #56676b;
}

.cookie-message p a {
    color: #079bbb;
    font-weight: 600;
    text-decoration: underline;
}

.cookie-message p a:hover {
    color: #4fc9c4;
}

.cookie-message form#accept-cookies {
    margin: 0;
}

.cookie-message .btn-success {
    background-color: #66d0cc;
    border-color: #66d0cc;
    color: #ffffff;
    font-weight: 600;
    padding: 8px 26px;
    border-radius: 4px;
}

.cookie-message .btn-success:hover,
.cookie-message .btn-success:focus,
.cookie-message .btn-success:active {
    background-color: #4fc9c4;
    border-color: #4fc9c4;
    color: #ffffff;
    outline: none;
}

/* small screens: stack text above the button, keep it readable */
@media screen and (max-width: 767px) {
    .cookie-message .cookie_info_bar {
        padding: 12px 15px;
    }

    .cookie-message .row {
        display: block;
        text-align: center;
    }

    .cookie-message p {
        padding: 0 0 10px 0;
        text-align: center;
    }

    .cookie-message .btn-success {
        width: 100%;
        padding: 10px 0;
    }
}
