/* Policy Pages Styling */
.policy-container {
    padding: 60px 0;
    background-color: #f9f9f9;
    min-height: calc(100vh - 300px); /* Adjust based on your header/footer height */
}

.policy-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    background: #fff;
    overflow: hidden;
}

/* Sidebar Styling */
.policy-sidebar {
    width: 280px;
    background: var(--primary-orange);
    color: white;
    padding: 30px 20px;
    flex-shrink: 0;
}


.policy-sidebar h2 {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.policy-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.policy-nav li {
    margin-bottom: 10px;
}

.policy-tab {
    display: block;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.policy-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.policy-tab.active {
    background: white;
    color: var(--primary-orange);
    font-weight: 600;
}

.policy-contact {
    background: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.policy-contact h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.policy-contact p {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-btn {
    display: inline-block;
    background: white;
    color: var(--primary-orange);
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Content Styling */
.policy-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.policy-tab-content {
    display: none;
}

.policy-tab-content h1 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 24px;
    color: var(--primary-orange);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.policy-section h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 20px 0 10px;
}

.policy-section p {
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.policy-section ul, .policy-section ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.policy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Cookie settings button */
.cookie-preferences {
    margin: 20px 0;
}

.cookie-settings-btn {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-settings-btn:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
}

/* Cookies table styling */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookies-table th, .cookies-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookies-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.cookies-table tr:hover {
    background-color: #f9f9f9;
}

/* Responsive design */
@media (max-width: 900px) {
    .policy-wrapper {
        flex-direction: column;
        margin: 0 15px;
    }
    
    .policy-sidebar {
        width: 100%;
        padding: 20px;
    }
    
    .policy-content {
        padding: 30px 20px;
    }
    
    .policy-tab-content h1 {
        font-size: 28px;
    }
    
    .policy-section h2 {
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    .cookies-table {
        display: block;
        overflow-x: auto;
    }
    
    .policy-content {
        padding: 20px 15px;
    }
}