/* GDPR Cookie Consent — Plugin Poets
   Accept and Reject buttons are intentionally equal weight.
   Do not make Reject visually subordinate. This is a compliance requirement.
*/

:root {
    --gdpr-primary: #2271b1;
    --gdpr-bg:      #1a1a1a;
    --gdpr-text:    #f0f0f0;
    --gdpr-radius:  5px;
}

.gdpr-cc-banner {
    position:    fixed;
    left:        0;
    right:       0;
    width:       100%;
    background:  var(--gdpr-bg);
    color:       var(--gdpr-text);
    z-index:     999999;
    box-shadow:  0 -2px 12px rgba(0,0,0,.35);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size:   14px;
    line-height: 1.5;
    box-sizing:  border-box;
}

.gdpr-cc--bottom { bottom: 0; }
.gdpr-cc--top    { top: 0; box-shadow: 0 2px 12px rgba(0,0,0,.35); }

.gdpr-cc-inner {
    max-width:   1200px;
    margin:      0 auto;
    padding:     16px 24px;
    display:     flex;
    align-items: flex-start;
    flex-wrap:   wrap;
    gap:         12px;
}

.gdpr-cc-text {
    flex:      1 1 260px;
    font-size: 13px;
    color:     #ccc;
}

.gdpr-cc-text a {
    color:           #8ab4f8;
    text-decoration: underline;
    margin-left:     6px;
}

.gdpr-cc-prefs {
    width:       100%;
    padding:     10px 0 2px;
    display:     flex;
    flex-wrap:   wrap;
    gap:         12px;
    align-items: center;
    border-top:  1px solid #333;
    margin-top:  4px;
}

.gdpr-cc-prefs-title {
    width:          100%;
    margin:         0 0 4px;
    font-size:      12px;
    font-weight:    600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color:          #999;
}

.gdpr-cc-check {
    display:     flex;
    align-items: center;
    gap:         6px;
    font-size:   13px;
    cursor:      pointer;
}

.gdpr-cc-check input[type="checkbox"] {
    cursor:       pointer;
    width:        15px;
    height:       15px;
    accent-color: var(--gdpr-primary);
}

.gdpr-cc-check--locked {
    opacity: .5;
    cursor:  default;
}

.gdpr-cc-check--locked input { cursor: default; }

.gdpr-cc-actions {
    display:     flex;
    gap:         8px;
    flex-wrap:   wrap;
    align-items: center;
    flex-shrink: 0;
}

.gdpr-cc-btn {
    padding:       8px 18px;
    border:        2px solid transparent;
    border-radius: var(--gdpr-radius);
    font-size:     13px;
    font-weight:   600;
    cursor:        pointer;
    line-height:   1.4;
    transition:    opacity .15s;
    white-space:   nowrap;
    font-family:   inherit;
}

.gdpr-cc-btn:hover { opacity: .82; }
.gdpr-cc-btn:focus { outline: 2px solid #fff; outline-offset: 2px; }

.gdpr-cc-btn--accept {
    background:   var(--gdpr-primary);
    color:        #fff;
    border-color: var(--gdpr-primary);
}

/* Same size/weight as Accept on purpose */
.gdpr-cc-btn--reject {
    background:   transparent;
    color:        #fff;
    border-color: #fff;
}

.gdpr-cc-btn--prefs {
    background:   transparent;
    color:        #aaa;
    border-color: transparent;
    font-weight:  400;
    font-size:    12px;
    padding:      8px 10px;
}

.gdpr-cc-btn--save {
    background:   #2a9d5c;
    color:        #fff;
    border-color: #2a9d5c;
}

.pp-gdpr-settings-link {
    cursor:          pointer;
    text-decoration: underline;
    background:      none;
    border:          none;
    padding:         0;
    font:            inherit;
    color:           inherit;
}

@media (max-width: 640px) {
    .gdpr-cc-inner   { flex-direction: column; align-items: stretch; }
    .gdpr-cc-actions { flex-direction: column; }
    .gdpr-cc-btn     { text-align: center; width: 100%; }
}
