File: /var/www/stg-everycred.com/wp-content/themes/everycred/cookie-consent/cookie-consent.css
/* --- Added for Backdrop and Lock --- */
#c15t-backdrop {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
/* Semi-transparent black */
z-index: 9999;
/* Just below the banner */
backdrop-filter: blur(2px);
/* Modern blur effect */
}
body.c15t-lock-scroll {
overflow: hidden !important;
height: 100% !important;
}
/* --- Your Original CSS Structure --- */
:root {
--c1-primary: #1d4ed8;
--c1-accent: #00edd4;
--c1-text: #333;
--c1-bg: #ffffff;
}
#c15t-trigger {
position: fixed;
bottom: 20px;
left: 20px;
width: 40px;
height: 40px;
background: var(--c1-primary);
fill: var(--c1-accent);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 9998;
/* Lower than backdrop when banner is open */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
#c15t-banner {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: var(--c1-bg);
color: var(--c1-text);
padding: 25px 50px;
border-top: 4px solid var(--c1-accent);
z-index: 10000;
/* Highest z-index */
box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
font-family: 'Urbanist', sans-serif;
}
.c15t-inner {
max-width: 1100px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
gap: 30px;
}
.c15t-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
margin-top: 15px;
}
.c15t-option {
display: flex;
align-items: center;
gap: 8px;
font-size: 16px;
background: #f8f9fa;
padding: 8px;
border-radius: 4px;
}
.c15t-actions {
display: flex;
align-items: center;
}
.c15t-main-btns {
display: flex;
gap: 10px;
}
.c15t-btn {
padding: 10px 18px;
border: none;
border-radius: 4px;
cursor: pointer;
white-space: nowrap;
font-weight: 600;
}
.c15t-accept {
background: var(--c1-primary);
color: #fff;
}
.c15t-decline {
background: #eee;
color: #555;
}
.c15t-customize {
background: transparent;
color: var(--c1-primary);
border: 1px solid var(--c1-primary) !important;
}
.c15t-save-custom {
background: var(--c1-accent);
color: #000;
width: 100%;
}
@media (max-width: 900px) {
.c15t-inner {
flex-direction: column;
text-align: center;
}
.c15t-grid {
grid-template-columns: 1fr 1fr;
}
#c15t-banner {
padding: 20px;
}
}