/* ========================================
   COOKIES POLICY - Specifieke styling
   Gebruikt de basis variabelen uit theme.css
   ======================================== */

/* Base wrapper - uniek voor cookies-policy */
.tty-cp-wrapper {
    position: relative;
    overflow: hidden;
    font-family: inherit;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.tty-careers-banner .tty-hero-title {
    margin: 0px 0px 10px 0px;
}

.tty-hero-title {
  margin: 0px 0px 10px 0px;
}

/* Decoratief patroon achtergrond */
.tty-cp-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 9%;
    width: 40%;
    height: 100%;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5v10m0 30v10m-20-25h10m30 0h10' stroke='%23005F5F' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='5' fill='%23005F5F'/%3E%3Ccircle cx='30' cy='15' r='2' fill='%23005F5F'/%3E%3Ccircle cx='30' cy='45' r='2' fill='%23005F5F'/%3E%3Ccircle cx='20' cy='30' r='2' fill='%23005F5F'/%3E%3Ccircle cx='40' cy='30' r='2' fill='%23005F5F'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Direct children boven patroon */
.tty-cp-wrapper > * {
    position: relative;
    z-index: 1;
}

/* Banner sectie */
.tty-cp-banner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    margin-top: 40px;
}

.tty-cp-subtitle {
    font-size: 24px;
    color: var(--tty-primary);
    margin: 0;
}

/* Container layout */
.tty-cp-container {
    display: flex;
    gap: 40px;
}

/* Sidebar navigatie */
.tty-cp-sidebar {
    flex: 0 0 300px;
    position: sticky;
    top: 150px;
    height: fit-content;
}

.tty-cp-nav-block,
.tty-cp-links-block {
    background-color: var(--tty-bg-secondary);
    border-radius: 30px;
    padding: 20px;
    margin-bottom: 20px;
}

.tty-cp-nav-block h3,
.tty-cp-links-block h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.tty-cp-nav-list,
.tty-cp-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tty-cp-nav-list li,
.tty-cp-quick-links li {
    margin-bottom: 10px;
}

.tty-cp-nav-list a,
.tty-cp-quick-links a {
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    transition: var(--tty-transition-normal);
}

.tty-cp-nav-list a:hover,
.tty-cp-quick-links a:hover,
.tty-cp-nav-list a.active {
    background: var(--tty-bg-linear-graniet);
    color: var(--tty-text-light);
}

.tty-cp-quick-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tty-cp-quick-links a i {
    font-size: 12px;
    opacity: 0.7;
    transition: var(--tty-transition-normal);
}

.tty-cp-quick-links a:hover i {
    opacity: 1;
    transform: translateX(3px);
}

/* Main content area */
.tty-cp-content-main {
    flex: 1;
}

.tty-cp-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.tty-cp-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.tty-cp-section h2 {
    color: var(--tty-primary);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 34px;
    line-height: 1.2;
}

.tty-cp-block {
    background-color: var(--tty-bg-secondary);
    padding: 30px;
    border-radius: 30px;
}

.tty-cp-block h3 {
    color: var(--tty-primary);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 34px;
    font-weight: 600;
}

.tty-cp-block h4 {
    color: var(--tty-primary);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

/* Features Grid */
.tty-cp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.tty-cp-feature-card {
    background-color: var(--tty-text-light);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--tty-transition-normal);
}

.tty-cp-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.tty-cp-card-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background-color: rgba(0, 95, 95, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tty-primary);
    font-size: 24px;
}

.tty-cp-card-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.tty-cp-card-content p {
    margin: 0;
    line-height: 1.5;
}

/* Information Panels */
.tty-cp-info-panel {
    background-color: var(--tty-text-light);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: 40px;
    overflow: hidden;
}

.tty-cp-info-header {
    background: var(--tty-bg-linear-graniet);
    color: var(--tty-text-light);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tty-cp-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.tty-cp-info-header h3 {
    margin: 0;
    color: var(--tty-text-light);
    font-size: 22px;
}

.tty-cp-info-content {
    padding: 25px;
}

/* Cookie Types */
.tty-cp-cookie-type {
    background-color: var(--tty-text-light);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    overflow: hidden;
}

.tty-cp-type-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(0, 95, 95, 0.1);
}

.tty-cp-type-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.tty-cp-type-icon.essential {
    background-color: #27ae60;
}

.tty-cp-type-icon.analytical {
    background-color: #3498db;
}

.tty-cp-type-icon.functional {
    background-color: #f39c12;
}

.tty-cp-type-icon.marketing {
    background-color: #e74c3c;
}

.tty-cp-type-info h3 {
    margin: 0;
    font-size: 20px;
    color: var(--tty-primary);
}

.tty-cp-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.tty-cp-badge.required {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.tty-cp-badge.optional {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.tty-cp-type-content {
    padding: 20px;
}

.tty-cp-cookie-examples {
    margin-top: 15px;
    padding-left: 20px;
}

.tty-cp-cookie-examples h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.tty-cp-cookie-examples ul {
    margin: 0;
    padding-left: 20px;
}

.tty-cp-cookie-examples li {
    margin-bottom: 8px;
}

/* Third Party Table */
.tty-cp-third-party {
    margin-top: 40px;
}

.tty-cp-third-party h3 {
    margin-bottom: 15px;
}

.tty-cp-table-wrapper {
    margin-top: 20px;
    overflow-x: auto;
}

.tty-cp-services-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tty-cp-services-table th {
    background-color: var(--tty-primary);
    color: var(--tty-text-light);
    text-align: left;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 16px;
}

.tty-cp-services-table td {
    background-color: var(--tty-text-light);
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    font-size: 15px;
}

.tty-cp-services-table tr:nth-child(even) td {
    background-color: #f9f9f9;
}

.tty-cp-type-label {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.tty-cp-type-label.analytical {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.tty-cp-type-label.marketing {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.tty-cp-services-table a {
    color: var(--tty-primary);
    text-decoration: none;
    transition: var(--tty-transition-normal);
}

.tty-cp-services-table a:hover {
    text-decoration: underline;
}

.tty-cp-services-table a i {
    font-size: 12px;
    margin-left: 5px;
}

/* Manage Options */
.tty-cp-manage-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.tty-cp-option-card {
    background-color: var(--tty-text-light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.tty-cp-option-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(0, 95, 95, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tty-primary);
    font-size: 36px;
}

.tty-cp-option-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.tty-cp-settings-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--tty-primary) 0%, var(--tty-primary-light) 100%);
    color: var(--tty-text-light);
    border: none;
    border-radius: var(--tty-radius-lg);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 95, 95, 0.3);
    transition: var(--tty-transition-normal);
    margin-top: 20px;
}

.tty-cp-settings-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--tty-shadow-lg);
}

.tty-cp-browser-links {
    margin-top: 20px;
    text-align: left;
}

.tty-cp-browser-links h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.tty-cp-browser-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tty-cp-browser-links li {
    margin-bottom: 8px;
}

.tty-cp-browser-links a {
    color: var(--tty-primary);
    text-decoration: none;
    transition: var(--tty-transition-normal);
}

.tty-cp-browser-links a:hover {
    text-decoration: underline;
}

.tty-cp-browser-links a i {
    font-size: 12px;
    margin-left: 5px;
}

/* Warning Panel */
.tty-cp-info-panel.warning .tty-cp-info-header {
    background-color: #f39c12;
}

.tty-cp-impact-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.tty-cp-impact-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.tty-cp-impact-list li:before {
    content: "•";
    color: #f39c12;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact Cards */
.tty-cp-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.tty-cp-contact-card {
    background-color: var(--tty-text-light);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.tty-cp-contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: rgba(0, 95, 95, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tty-primary);
    font-size: 22px;
}

.tty-cp-contact-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.tty-cp-contact-info p {
    margin: 5px 0;
}

.tty-cp-contact-info a {
    color: var(--tty-primary);
    text-decoration: none;
    transition: var(--tty-transition-normal);
}

.tty-cp-contact-info a:hover {
    text-decoration: underline;
}

/* Updates Section */
.tty-cp-updates {
    background: var(--tty-bg-linear-graniet);
    border-radius: 12px;
    margin: 60px 0 150px;
    overflow: hidden;
    position: relative;
    border-bottom: none;
}

.tty-cp-updates-container {
    padding: 50px 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.tty-cp-updates h2 {
    color: var(--tty-text-light);
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 32px;
}

.tty-cp-updates p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tty-cp-update-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.tty-cp-update-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: var(--tty-text-light);
    color: var(--tty-primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--tty-transition-normal);
}

.tty-cp-update-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tty-cp-update-button.tty-cp-secondary {
    background-color: transparent;
    color: var(--tty-text-light);
    border: 1px solid white;
}

.tty-cp-update-button.tty-cp-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Specific overrides */
#section-overview {
    margin-top: 20px;
}


.tty-cp-updates .heartbeat polyline {
    stroke: rgba(255, 255, 255, 0.4);
}

/* Dark theme aanpassingen */
[data-theme="dark"] .tty-cp-wrapper::before {
    opacity: 0.03;
}

[data-theme="dark"] .tty-cp-feature-card,
[data-theme="dark"] .tty-cp-cookie-type,
[data-theme="dark"] .tty-cp-option-card,
[data-theme="dark"] .tty-cp-contact-card,
[data-theme="dark"] .tty-cp-info-panel,
[data-theme="dark"] .tty-cp-services-table td {
    background-color: var(--tty-bg-tertiary);
}

[data-theme="dark"] .tty-cp-services-table tr:nth-child(even) td {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .tty-cp-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .tty-cp-container {
        flex-direction: column;
    }
    
    .tty-cp-sidebar {
        position: relative;
        top: 0;
    }
    
    .tty-cp-banner {
        flex-direction: column;
    }
    
    .tty-cp-features-grid,
    .tty-cp-manage-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tty-cp-wrapper::before {
        display: none;
    }
    
    /* Banner sectie */
    .tty-cp-banner {
        margin-top: 20px;
    }

    .tty-cp-feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .tty-cp-card-icon {
        margin-bottom: 15px;
    }
    
    .tty-cp-update-buttons {
        flex-direction: column;
    }
    
    .tty-cp-contact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .tty-cp-block {
        padding: 20px 15px;
    }
    
    .tty-cp-section h2 {
        font-size: 26px;
    }
    
    .tty-cp-updates-container {
        padding: 30px 20px;
    }
    
    .tty-cp-updates h2 {
        font-size: 24px;
    }
    
    .tty-cp-services-table {
        font-size: 14px;
    }
    
    .tty-cp-services-table th,
    .tty-cp-services-table td {
        padding: 10px 15px;
    }
}