/* Dark Mode Variables */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f9f9f9;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #eeeeee;
    --table-stripe: #f9f9f9;
    --table-hover: #f5f5f5;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: #444444;
    --table-stripe: #2d2d2d;
    --table-hover: #3d3d3d;
}


/* Privacy policy dark mode */
[data-theme="dark"] .privacy-policy {
    background-color: var(--bg-primary);
}

[data-theme="dark"] .privacy-policy__section h3 {
    color: var(--text-primary);
    border-bottom-color: #4CAF50;
}

[data-theme="dark"] .privacy-policy__section h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .privacy-policy__section p {
    color: var(--text-secondary);
}

[data-theme="dark"] .privacy-policy__list li {
    color: var(--text-secondary);
}

[data-theme="dark"] .privacy-policy__list li::before {
    background-color: #4CAF50;
}

[data-theme="dark"] .privacy-policy__contact {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .privacy-policy__contact p {
    color: var(--text-secondary);
}

[data-theme="dark"] .privacy-policy__footer {
    border-top-color: var(--border-color);
}

[data-theme="dark"] .privacy-policy__footer p {
    color: var(--text-muted);
}

/* Sidebar dark mode */
[data-theme="dark"] .sidebar__box {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .sidebar__box h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .sidebar__links li a {
    color: var(--text-secondary);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .sidebar__links li a:hover,
[data-theme="dark"] .sidebar__links li a.active {
    color: #09cc7f;
}

[data-theme="dark"] .sidebar__box--highlight {
    background-color: #09cc7f;
}

[data-theme="dark"] .sidebar__box--highlight h4 {
    color: #1a1a1a;
}

[data-theme="dark"] .sidebar__box--highlight p {
    color: #333;
}

/* Cookie table dark mode */
[data-theme="dark"] .cookie-table {
    background-color: var(--bg-secondary);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .cookie-table thead tr {
    background-color: #09cc7f;
}

[data-theme="dark"] .cookie-table tbody tr {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .cookie-table tbody tr:nth-of-type(even) {
    background-color: var(--table-stripe);
}

[data-theme="dark"] .cookie-table tbody tr:hover {
    background-color: var(--table-hover);
}

[data-theme="dark"] .cookie-table td {
    color: var(--text-secondary);
}

/* Page header dark mode adjustments */
[data-theme="dark"] .page-header {
    background-color: #0d0d0d;
}

/* Links in dark mode */
[data-theme="dark"] .privacy-policy__section a {
    color: #09cc7f;
}

[data-theme="dark"] .privacy-policy__section a:hover {
    color: #ffb84d;
}



/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Active quick link styling */
.sidebar__links li a.active {
    color: var(--thm-primary, #f5a623);
    padding-left: 15px;
    font-weight: 500;
    border-left: 3px solid var(--thm-primary, #f5a623);
}

/* Section offset for fixed header */
.privacy-policy__section[id] {
    scroll-margin-top: 120px;
}

/* Cookie table enhancements */
.cookie-table tbody tr:hover {
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
}


/* Responsive dark mode toggle */
@media (max-width: 767px) {
    .dark-mode-toggle {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
/* Page Header */
.page-header {
    position: relative;
    padding: 120px 0;
    background-color: var(--thm-black, #1a1a1a);
    overflow: hidden;
}


.page-header__inner h2 {
    font-size: 50px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 20px;
}

.thm-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.thm-breadcrumb li {
    color: #fff;
    font-size: 16px;
}

.thm-breadcrumb li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.thm-breadcrumb li a:hover {
    color: #09cc7f;
}

.thm-breadcrumb li span {
    color: #fff;
}

/* Privacy Policy Content */
.privacy-policy {
    padding: 100px 0;
    background-color: #fff;
}

.privacy-policy__content {
    padding-right: 30px;
}

.privacy-policy__section {
    margin-bottom: 50px;
}

.privacy-policy__section:last-child {
    margin-bottom: 0;
}

.privacy-policy__section h3 {
    font-size: 32px;
    font-weight: 400;
    color: var(--thm-black, #1a1a1a);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #09cc7f;
}

.privacy-policy__section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.privacy-policy__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.privacy-policy__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.privacy-policy__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: #09cc7f;
    border-radius: 50%;
}

.privacy-policy__list li strong {
    color: var(--thm-black, #1a1a1a);
    font-weight: 600;
}

.privacy-policy__contact {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin: 25px 0;
}

.privacy-policy__contact p {
    margin-bottom: 10px;
}

.privacy-policy__contact a {
    color: #09cc7f;
    text-decoration: none;
}

.privacy-policy__contact a:hover {
    text-decoration: underline;
}

.privacy-policy__footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.privacy-policy__footer p {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

/* Sidebar */
.privacy-policy__sidebar {
    position: sticky;
    top: 30px;
}

.sidebar__box {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.sidebar__box h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--thm-black, #1a1a1a);
    margin-bottom: 20px;
}

.sidebar__links {
    padding: 0;
    margin: 0;
}

.sidebar__links li {
    margin-bottom: 12px;
}

.sidebar__links li a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.sidebar__links li a:hover {
    color: #09cc7f;
    padding-left: 10px;
}

.sidebar__box--highlight {
    background-color: var(--thm-black, #1a1a1a);
    text-align: center;
}

.sidebar__box--highlight h4 {
    color: #fff;
}

.sidebar__box--highlight p {
    color: #ccc;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .page-header {
        padding: 80px 0;
    }
    
    .page-header__inner h2 {
        font-size: 36px;
    }
    
    .privacy-policy {
        padding: 60px 0;
    }
    
    .privacy-policy__content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .privacy-policy__section h3 {
        font-size: 24px;
    }
    
    .privacy-policy__sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .page-header__inner h2 {
        font-size: 28px;
    }
    
    .privacy-policy__section h3 {
        font-size: 22px;
    }
}

    /* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 15px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.cookie-table thead tr {
    background-color: #09cc7f;
    color: #fff;
    text-align: left;
}

.cookie-table th,
.cookie-table td {
    padding: 15px 20px;
}

.cookie-table tbody tr {
    border-bottom: 1px solid #eee;
}

.cookie-table tbody tr:nth-of-type(even) {
    background-color: #09cc7f;
}

.cookie-table tbody tr:last-of-type {
    border-bottom: 2px solid #09cc7f;
}

.cookie-table a {
    color: #09cc7f;
    text-decoration: none;
}

.cookie-table a:hover {
    text-decoration: underline;
}

/* Sub-headings in sections */
.privacy-policy__section h4 {
    font-size: 22px;
    font-weight: 400;
    color: var(--thm-black, #1a1a1a);
    margin: 30px 0 15px 0;
}

/* Responsive table */
@media (max-width: 767px) {
    .cookie-table {
        font-size: 14px;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 10px;
    }
}