/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-color, #131314);
    color: var(--text-color, #f8f8f8);
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color, #333);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.cookie-consent-banner.visible {
    transform: translateY(0);
}

.cookie-consent-content {
    flex: 1;
    min-width: 280px;
}

.cookie-consent-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.cookie-consent-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s, transform 0.1s;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn:active {
    transform: translateY(1px);
}

.cookie-btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.cookie-btn-primary:hover {
    background-color: rgb(31, 159, 162);
}

.cookie-btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.cookie-btn-secondary:hover {
    background-color: rgba(36, 185, 189, 0.1);
}

.cookie-btn-tertiary {
    background-color: transparent;
    color: var(--secondary-text);
    text-decoration: underline;
    padding: 8px 0;
}

.cookie-btn-tertiary:hover {
    color: var(--text-color);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.cookie-settings-modal.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background-color: var(--bg-color, #131314);
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 1px solid var(--border-color, #333);
    color: var(--text-color, #f8f8f8);
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cookie-settings-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-color);
    margin: 0;
}

.cookie-settings-close {
    background: transparent;
    border: none;
    color: var(--secondary-text);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cookie-settings-close:hover {
    color: var(--text-color);
}

.cookie-settings-body {
    margin-bottom: 24px;
}

.cookie-category {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-title {
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.cookie-category-description {
    font-size: 14px;
    line-height: 1.5;
    color: var(--secondary-text);
    margin-bottom: 10px;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

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

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: .4s;
    border-radius: 34px;
}

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

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--accent-color);
}

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-settings-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Footer Cookie Settings Link */
.cookie-settings-link {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}

.cookie-settings-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}
