/* GDPR Cookie UI */
#gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: none;
    padding: 0 12px 12px;
    font-family: inherit;
}

#gdpr-banner::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: -1;
    pointer-events: none;
}

#gdpr-banner .gdpr-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    color: #111;
    border-radius: 10px;
    padding: 18px 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,.22);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

#gdpr-banner .gdpr-icon {
    font-size: 30px;
    line-height: 1;
    align-self: flex-start;
}

#gdpr-banner .gdpr-text {
    flex: 1 1 380px;
    font-size: 14px;
    line-height: 1.4;
}

#gdpr-banner .gdpr-text strong {
    display: block;
    font-size: 14px;
}

#gdpr-banner .gdpr-text a {
    color: #0052d9;
    font-weight: 700;
    text-decoration: none;
}

#gdpr-banner .gdpr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#gdpr-banner .gdpr-actions button {
    padding: 10px 22px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid #0052d9;
    background: #fff;
    color: #0052d9;
}

#gdpr-banner .gdpr-actions .gdpr-reject {
    border-color: #111;
    color: #111;
}

#gdpr-banner .gdpr-actions .gdpr-accept {
    background: #0052d9;
    color: #fff;
}

#gdpr-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0,0,0,.5);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-family: inherit;
}

#gdpr-modal .gdpr-dialog {
    background: #fff;
    color: #111;
    border-radius: 8px;
    width: 100%;
    max-width: 936px;
    max-height: 95vh;
    overflow-y: auto;
    padding: 22px 22px 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
    position: relative;
}

#gdpr-modal h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
}

#gdpr-modal .gdpr-sub {
    font-size: 14px;
    color: #444;
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #ccc;
}

#gdpr-modal .gdpr-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 24px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 4px;
}

#gdpr-modal .gdpr-close:hover {
    color: #0052d9;
    background: #f0f0f0;
}

#gdpr-modal .gdpr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

#gdpr-modal .gdpr-row strong {
    display: block;
    font-size: 14px;
}

#gdpr-modal .gdpr-row span.d {
    font-size: 13px;
    color: #444;
}

#gdpr-modal .gdpr-row-center {
    flex: 1;
}

#gdpr-modal .gdpr-row-right,
#gdpr-modal .gdpr-ctl {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    font-size: 14px;
}

#gdpr-modal .gdpr-switch {
    position: relative;
    width: 52px;
    height: 28px;
    display: inline-block;
    flex: none;
}

#gdpr-modal .gdpr-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#gdpr-modal .gdpr-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 28px;
    cursor: pointer;
    transition: .2s;
}

#gdpr-modal .gdpr-slider:before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: .2s;
}

#gdpr-modal .gdpr-switch input:checked + .gdpr-slider {
    background: #28c45a;
}

#gdpr-modal .gdpr-switch input:checked + .gdpr-slider:before {
    transform: translateX(24px);
}

#gdpr-modal .gdpr-switch input:disabled + .gdpr-slider {
    background: #96dfae;
    cursor: default;
}

#gdpr-modal .gdpr-arrow {
    width: 28px;
    height: 28px;
    border: 2px solid #999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    flex: none;
    font-size: 14px;
    background: #f5f5f5;
}

#gdpr-modal .gdpr-details {
    display: none;
    padding: 6px 0 6px 6px;
    background: #f9f9f9;
    border-bottom: 1px solid #ddd;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

#gdpr-modal .gdpr-details.expanded {
    display: block;
}

#gdpr-modal .gdpr-details table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 12px 0;
    margin-top: 10px;
    font-size: 13px;
}

#gdpr-modal .gdpr-details table th {
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #0052d9;
    color: #0052d9;
}

#gdpr-modal .gdpr-details table td {
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
}

#gdpr-modal .gdpr-foot {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

#gdpr-modal .gdpr-foot button {
    padding: 10px 22px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid #111;
    background: #fff;
    color: #111;
}

#gdpr-modal .gdpr-foot .gdpr-save {
    background: #0052d9;
    border-color: #0052d9;
    color: #fff;
}

.modify-cookie-btn {
    padding: 12px 26px;
    background: linear-gradient(135deg, #0052d9 0%, #0042a8 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 82, 217, 0.3);
}

.modify-cookie-btn:hover {
    background: linear-gradient(135deg, #0042a8 0%, #003688 100%);
}
