.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 16px 20px;
    transition: opacity 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    border-top: 1px solid #e0e0e0;
    color: #000000;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text p {
    margin: 0;
    color: #000000;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-consent-main-text {
    margin-bottom: 4px;
    color: #000000;
}

.cookie-consent-rights {
    font-size: 12px;
    color: #333333;
    margin-top: 4px;
}

.cookie-consent-rights a {
    color: #0066cc;
    text-decoration: none;
}

.cookie-consent-rights a:hover {
    text-decoration: underline;
}

.cookie-consent-link a {
    color: #0066cc;
    text-decoration: underline;
    font-size: 13px;
}

.cookie-consent-link a:hover {
    color: #0052a3;
}

.cookie-consent-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    background-color: #ffffff;
    color: #333;
}

.cookie-consent-accept-all {
    background-color: #ff9900;
    color: #000000;
    border-color: #ff9900;
}

.cookie-consent-accept-all:hover {
    background-color: #e68900;
    border-color: #e68900;
    color: #000000;
}

.cookie-consent-reject-all {
    background-color: #ffffff;
    color: #333;
    border-color: #ddd;
}

.cookie-consent-reject-all:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
}

.cookie-consent-necessary {
    background-color: #ffffff;
    color: #333;
    border-color: #ddd;
}

.cookie-consent-necessary:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
}

.cookie-consent-settings-btn {
    background-color: #ffffff;
    color: #0066cc;
    border-color: #0066cc;
}

.cookie-consent-settings-btn:hover {
    background-color: #f0f8ff;
    color: #0052a3;
    border-color: #0052a3;
}

/* Settings Panel - keep existing functionality but update styling */
.cookie-consent-settings {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.cookie-consent-settings h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
}

.cookie-consent-option {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.cookie-consent-option label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.cookie-consent-option input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
}

.cookie-consent-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.cookie-consent-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.cookie-consent-desc {
    display: block;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.cookie-consent-settings-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.cookie-consent-accept-all-settings {
    background-color: #ff9900;
    color: #000000;
    border-color: #ff9900;
}

.cookie-consent-accept-all-settings:hover {
    background-color: #e68900;
    border-color: #e68900;
    color: #000000;
}

.cookie-consent-save {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

.cookie-consent-save:hover {
    background-color: #0052a3;
    border-color: #0052a3;
}

.cookie-consent-cancel {
    background-color: #ffffff;
    color: #333;
    border-color: #ddd;
}

.cookie-consent-cancel:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
}

/* Additional Info */
.cookie-consent-settings-intro {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent-details {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    font-style: italic;
}

.cookie-consent-settings-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: #666;
    text-align: center;
}

.cookie-consent-settings-footer a {
    color: #0066cc;
    text-decoration: underline;
}

/* Notification */
.cookie-consent-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2ecc71;
    color: white;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

/* Footer Link */
#cookie-settings-link {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

#cookie-settings-link:hover {
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 12px 15px;
    }

    .cookie-consent-content {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .cookie-consent-text {
        text-align: left;
        min-width: unset;
    }

    .cookie-consent-text p {
        font-size: 13px;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
        gap: 6px;
    }

    .cookie-consent-btn {
        padding: 8px 12px;
        font-size: 12px;
        flex: 1;
        min-width: 0;
    }

    .cookie-consent-settings {
        padding: 15px;
    }

    .cookie-consent-settings h3 {
        margin-top: 40px;
    }

    .cookie-consent-rights {
        font-size: 11px;
    }

    .cookie-floating-button {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* Remove close button for less imposing feel */
.cookie-consent-close {
    display: none;
}

/* Company header - make much more subtle */
.cookie-consent-header {
    display: none;
}

.cookie-consent-logo {
    display: none;
}

.cookie-consent-header-text {
    display: none;
}

.cookie-consent-company {
    display: none;
}

/* Info row */
.cookie-consent-info-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Desktop layout improvements */
@media (min-width: 769px) {
    .cookie-consent-content {
        flex-direction: row;
        align-items: center;
    }

    .cookie-consent-text {
        max-width: none;
        margin: 0;
    }

    .cookie-consent-buttons {
        max-width: none;
        margin: 0;
        flex-shrink: 0;
    }

    .cookie-consent-btn {
        min-width: auto;
    }
}

/* Toggle switches */
.cookie-consent-toggle-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cookie-consent-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-consent-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-consent-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.cookie-consent-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.cookie-consent-toggle input:checked + .cookie-consent-toggle-slider {
    background-color: #2ecc71;
}

.cookie-consent-toggle input:focus + .cookie-consent-toggle-slider {
    box-shadow: 0 0 0 2px #0066cc;
}

.cookie-consent-toggle input:checked + .cookie-consent-toggle-slider:before {
    transform: translateX(26px);
}

.cookie-consent-toggle input:disabled + .cookie-consent-toggle-slider {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

.cookie-consent-option-content {
    flex: 1;
}

/* Reject all button in settings */
.cookie-consent-reject-all-settings {
    background-color: #ffffff;
    color: #333;
    border-color: #ddd;
}

.cookie-consent-reject-all-settings:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
}

/* Floating button */
.cookie-floating-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    transition: all 0.3s ease;
}

.cookie-floating-button:hover {
    background-color: #0052a3;
    transform: scale(1.1);
}

.cookie-floating-button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Accessibility improvements */
.cookie-consent-banner:focus-within {
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.3);
}

.cookie-consent-btn:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Skip link for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .cookie-consent-banner {
        background-color: #1a1a1a;
        color: #f0f0f0;
        border-top-color: #333;
    }

    .cookie-consent-text p {
        color: #e0e0e0;
    }

    .cookie-consent-btn {
        background-color: #2a2a2a;
        color: #f0f0f0;
        border-color: #444;
    }

    .cookie-consent-btn:hover {
        background-color: #333;
        border-color: #555;
    }

    .cookie-consent-accept-all {
        background-color: #ff9900;
        color: #000000;
        border-color: #ff9900;
    }

    .cookie-consent-accept-all:hover {
        background-color: #e68900;
        border-color: #e68900;
        color: #000000;
    }

    .cookie-consent-settings-btn {
        background-color: #2a2a2a;
        color: #66b3ff;
        border-color: #66b3ff;
    }

    .cookie-consent-settings-btn:hover {
        background-color: #1a2f4a;
        color: #99ccff;
        border-color: #99ccff;
    }

    .cookie-consent-option {
        background-color: #2a2a2a;
    }

    .cookie-consent-label {
        color: #f0f0f0;
    }

    .cookie-consent-desc {
        color: #b0b0b0;
    }

    .cookie-consent-settings h3 {
        color: #f0f0f0;
    }

    .cookie-consent-rights {
        color: #b0b0b0;
    }

    .cookie-consent-accept-all-settings {
        background-color: #ff9900;
        color: #000000;
        border-color: #ff9900;
    }

    .cookie-consent-accept-all-settings:hover {
        background-color: #e68900;
        border-color: #e68900;
        color: #000000;
    }
}
