#consentbanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(245, 245, 250, 0.98);
    backdrop-filter: blur(8px);
    border-top: 2px solid #d0d0e0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    display: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.consent-container {
    max-width: 1300px;
    margin: 0 auto;
}

.consent-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.consent-message {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333344;
    font-size: 14px;
    flex: 1;
    min-width: 300px;
}

.consent-icon {
    font-size: 20px;
    background: #e0e0f0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    color: #555566;
}

.consent-message a {
    color: #4a6a8a;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(74, 106, 138, 0.3);
}

.consent-message a:hover {
    color: #2a4a6a;
    border-bottom-color: #4a6a8a;
}

.consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.consent-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #e8e8f0;
    color: #333344;
    border: 1px solid #d0d0e0;
    min-width: 90px;
}

.consent-btn:hover {
    background: #d8d8e8;
    transform: translateY(-2px);
}

.accept-btn {
    background: #4a6a8a !important;
    color: white !important;
    border-color: #3a5a7a !important;
}

.accept-btn:hover {
    background: #3a5a7a !important;
}

.consent-settings {
    padding: 0 25px 20px 25px;
    display: none;
    border-top: 1px solid #d0d0e0;
    margin-top: 5px;
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 10px;
}

.settings-header h4 {
    color: #4a6a8a;
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.close-settings {
    background: none;
    border: none;
    color: #888899;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.close-settings:hover {
    background: #e0e0f0;
    color: #4a6a8a;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.setting-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #e0e0f0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.setting-item.essential {
    background: #f0f0fa;
    border-left: 3px solid #4a6a8a;
}

.setting-item.essential input[type="checkbox"] {
    opacity: 0.6;
    cursor: not-allowed;
}

.setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4a6a8a;
    margin-top: 2px;
    flex-shrink: 0;
}

.setting-label {
    flex: 1;
}

.setting-label strong {
    color: #333344;
    font-size: 14px;
    display: block;
    margin-bottom: 3px;
}

.setting-label span {
    color: #666677;
    font-size: 12px;
    line-height: 1.4;
    display: block;
}

.setting-label small {
    color: #4a6a8a;
    font-size: 11px;
    margin-left: 5px;
}

.settings-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid #e0e0f0;
}

.settings-buttons {
    display: flex;
    gap: 10px;
}

.settings-buttons .consent-btn {
    padding: 6px 16px;
    font-size: 12px;
    min-width: 100px;
}

.deny-btn {
    background: #f0e0e0 !important;
    color: #884444 !important;
    border-color: #d0b0b0 !important;
}

.save-btn {
    background: #4a6a8a !important;
    color: white !important;
    border-color: #3a5a7a !important;
}

@media screen and (max-width: 768px) {
    .consent-main {
        flex-direction: column;
        padding: 15px;
    }

    .consent-actions {
        width: 100%;
        justify-content: center;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }
}