.occ-banner {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 999999;
background: #fff;
box-shadow: 0 -2px 10px rgba(0, 0, 0, .15);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 14px;
line-height: 1.5;
color: #333;
}
.occ-banner-inner {
max-width: 1200px;
margin: 0 auto;
padding: 16px 24px;
display: flex;
align-items: center;
gap: 20px;
flex-wrap: wrap;
}
.occ-banner-text {
flex: 1;
min-width: 200px;
margin: 0;
}
.occ-banner-text a {
color: inherit;
text-decoration: underline;
}
.occ-banner-actions {
display: flex;
gap: 8px;
flex-shrink: 0;
flex-wrap: wrap;
} .occ-btn {
padding: 8px 16px;
border: 1px solid #333;
border-radius: 4px;
cursor: pointer;
font-size: 13px;
font-family: inherit;
white-space: nowrap;
transition: background .2s, color .2s;
}
.occ-btn-primary {
background: #333;
color: #fff;
}
.occ-btn-primary:hover {
background: #555;
}
.occ-btn-secondary {
background: transparent;
color: #333;
}
.occ-btn-secondary:hover {
background: #f0f0f0;
} .occ-preferences {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1000000;
display: flex;
align-items: center;
justify-content: center;
}
.occ-preferences-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, .5);
}
.occ-preferences-panel {
position: relative;
background: #fff;
border-radius: 8px;
max-width: 600px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}
.occ-preferences-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 24px;
border-bottom: 1px solid #eee;
}
.occ-preferences-header h3 {
margin: 0;
font-size: 18px;
color: #333;
}
.occ-close {
background: none;
border: none;
font-size: 24px;
cursor: pointer;
padding: 0;
line-height: 1;
color: #666;
}
.occ-close:hover {
color: #333;
}
.occ-preferences-body {
padding: 16px 24px;
}
.occ-category {
padding: 12px 0;
border-bottom: 1px solid #eee;
}
.occ-category:last-child {
border-bottom: none;
}
.occ-category-header {
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 600;
font-size: 14px;
}
.occ-category-header label {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
}
.occ-always-on {
font-size: 12px;
color: #28a745;
font-weight: normal;
}
.occ-category p {
margin: 4px 0 0;
font-size: 13px;
color: #666;
}
.occ-preferences-footer {
padding: 16px 24px;
border-top: 1px solid #eee;
text-align: right;
} .occ-placeholder {
background: #f5f5f5;
border: 2px dashed #ccc;
border-radius: 8px;
padding: 40px 20px;
text-align: center;
color: #666;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.occ-placeholder p {
margin: 0 0 12px;
font-size: 14px;
}
.occ-placeholder .occ-btn {
font-size: 13px;
} @media (max-width: 768px) {
.occ-banner-inner {
flex-direction: column;
align-items: stretch;
padding: 12px 16px;
}
.occ-banner-actions {
justify-content: stretch;
}
.occ-banner-actions .occ-btn {
flex: 1;
text-align: center;
}
.occ-preferences-panel {
width: 95%;
max-height: 90vh;
}
} .occ-declaration h4 {
margin: 24px 0 8px;
font-size: 16px;
color: #333;
}
.occ-declaration h4:first-child {
margin-top: 0;
}
.occ-declaration-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
margin-bottom: 16px;
}
.occ-declaration-table th,
.occ-declaration-table td {
padding: 8px 12px;
border: 1px solid #ddd;
text-align: left;
vertical-align: top;
}
.occ-declaration-table th {
background: #f5f5f5;
font-weight: 600;
}
.occ-declaration-table code {
font-size: 12px;
background: #f0f0f0;
padding: 1px 4px;
border-radius: 3px;
}