/* Policy Pages Styling */
.policy-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.policy-header h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #2c3e50;
    margin-bottom: 1rem;
}

.policy-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.policy-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.policy-section h3 {
    color: #34495e;
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
}

.policy-section p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-section ul {
    list-style-type: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #666;
}

.policy-section ul li::before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.policy-section code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    color: #e74c3c;
}

.cookie-settings {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

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

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

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

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

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

input:checked + .toggle-slider {
    background-color: #3498db;
}

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

@media (max-width: 768px) {
    .policy-container {
        margin: 1rem auto;
        padding: 0 1rem;
    }

    .policy-content {
        padding: 1.5rem;
    }

    .policy-section {
        margin-bottom: 2rem;
    }

    .cookie-toggle {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
