@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "IBM Plex Mono", monospace;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding: 40px;
    box-sizing: border-box;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.last-updated {
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
}

/* Main content */
main {
    max-width: 100%;
}

/* Sections */
section {
    margin-bottom: 40px;
}

.intro {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #007bff;
    margin-bottom: 40px;
}

/* Headings */
h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
    margin-top: 30px;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 10px;
    margin-top: 20px;
}

/* Paragraphs */
p {
    margin-bottom: 15px;
    text-align: justify;
}

/* Lists */
ul, ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

li {
    margin-bottom: 8px;
}

li strong {
    color: #495057;
}

/* Definition list */
.definitions {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.definitions dt {
    font-weight: 600;
    color: #495057;
    margin-top: 15px;
    margin-bottom: 5px;
}

.definitions dt:first-child {
    margin-top: 0;
}

.definitions dd {
    margin-left: 20px;
    margin-bottom: 10px;
    color: #6c757d;
}

/* Cookie types */
.cookie-types {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.cookie-type {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #28a745;
}

.cookie-type h4 {
    color: #495057;
    margin-top: 0;
    margin-bottom: 15px;
}

.cookie-type p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.cookie-type p:last-child {
    margin-bottom: 0;
}

/* Links */
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Generator note */
.generator-note {
    font-size: 0.85rem;
    color: #adb5bd;
    font-style: italic;
    margin-top: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
        border-radius: 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    ul, ol {
        padding-left: 20px;
    }
    
    .definitions dd {
        margin-left: 15px;
    }
    
    .cookie-types {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 5px;
        padding: 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .intro {
        padding: 15px;
    }
    
    .cookie-type {
        padding: 15px;
    }
    
    .definitions {
        padding: 15px;
    }
}

/* Print styles */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        box-shadow: none;
        max-width: none;
        padding: 0;
    }
    
    h1, h2, h3, h4 {
        page-break-after: avoid;
    }
    
    .cookie-type, .definitions {
        break-inside: avoid;
    }
}