/*
 * Frontend styles for WP Smart Cookie Notice Pro
 *
 * Styles the cookie banner and its internal elements. Colors are set via
 * inline styles in PHP to allow dynamic customization through the admin
 * settings. Only layout and structure are defined here.
 */
.wscnp-banner {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    font-family: inherit;
}
.wscnp-banner.top {
    top: 0;
}
.wscnp-banner.bottom {
    bottom: 0;
}
.wscnp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}
.wscnp-message {
    flex: 1 1 70%;
    margin: 0;
    padding-right: 1em;
    font-size: 16px;
    line-height: 1.4;
}
.wscnp-buttons {
    flex: 0 0 auto;
    display: flex;
    gap: 0.5em;
}
.wscnp-btn {
    padding: 0.5em 1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}
.wscnp-btn.wscnp-accept {
    background-color: #38a169; /* green as default; can be overridden via inline styles if needed */
    color: #ffffff;
}
.wscnp-btn.wscnp-decline {
    background-color: #4a5568; /* grey as default */
    color: #ffffff;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .wscnp-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .wscnp-message {
        margin-bottom: 0.5em;
    }
    .wscnp-buttons {
        width: 100%;
        justify-content: flex-start;
    }
}