/**
 * AVG-Package by Studio Code Rood
 */

/* Admin Interface Styling */
.avg-admin-section {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.avg-admin-section h3 {
    margin-top: 0;
    color: #23282d;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Tab Navigation */
.nav-tab-wrapper {
    margin-bottom: 20px;
    border-bottom: 1px solid #c3c4c7;
}

.nav-tab {
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0;
    margin-right: 0;
}

.nav-tab:hover {
    background-color: #f1f1f1;
    border-bottom-color: #f1f1f1;
}

.nav-tab-active {
    background-color: #fff !important;
    border-bottom-color: #fff !important;
    color: #000 !important;
    font-weight: 600;
}

/* Tab Content */
.tab-content {
    display: none !important;
}

.tab-content.active {
    display: block !important;
}

/* Post Type Checkboxes */
.post-type-checkboxes {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    background: #fff;
    border-radius: 3px;
    border: 1px solid #e1e1e1;
    transition: background-color 0.2s ease;
}

.checkbox-item:hover {
    background-color: #f0f8ff;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 0;
}

.checkbox-label {
    display: flex;
    flex-direction: column;
}

.checkbox-label strong {
    color: #23282d;
    font-size: 14px;
}

.checkbox-label small {
    color: #666;
    font-size: 12px;
    margin-top: 2px;
}

/* Language Configuration */
.language-config-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.config-field {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #e1e1e1;
}

.config-field label {
    font-weight: 600;
    color: #23282d;
    display: block;
    margin-bottom: 5px;
}

/* Shortcode Examples */
.shortcode-examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.shortcode-item {
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 20px;
}

.shortcode-item h4 {
    margin-top: 0;
    color: #23282d;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.shortcode-item code {
    background: #23282d;
    color: #fff;
    padding: 8px 12px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
}

.shortcode-usage {
    margin-top: 15px;
    padding: 10px;
    background: #e7f3ff;
    border-left: 4px solid #0073aa;
    border-radius: 3px;
}

.shortcode-info {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
}

.shortcode-info h4 {
    color: #23282d;
    margin-top: 0;
    margin-bottom: 10px;
}

.shortcode-info ul {
    margin-left: 20px;
}

.shortcode-info li {
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-config-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .shortcode-examples {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .post-type-checkboxes {
        max-height: 200px;
    }
}

/* Algemene styling */
.cookiecode-policy {
    max-width: 100%;
    line-height: 1.6;
    color: inherit;
}

/* Header styling in twee kolommen */
.cc-document-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.cc-document-header h1 {
    width: 100%;
    margin-bottom: 20px;
}

.cc-document-header-address {
    flex: 1;
    padding-right: 20px;
}

.cc-document-header-info {
    flex: 1;
    padding-left: 20px;
}

/* Responsive styling */
@media (max-width: 768px) {
    .cc-document-header {
        flex-direction: column;
    }
    
    .cc-document-header-address,
    .cc-document-header-info {
        padding: 0;
        margin-bottom: 15px;
    }
}

/* Stijl voor secties */
.cc-document-content-block {
    margin-bottom: 30px;
}

.cc-document-content-block h2 {
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.cc-document-content-block h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

/* Tabellen */
.cookiecode-policy table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookiecode-policy table th,
.cookiecode-policy table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

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

/* Lijst styling */
.cookiecode-policy ol {
    padding-left: 20px;
}

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

/* Links */
.cookiecode-policy a {
    color: inherit;
    text-decoration: none;
}

.cookiecode-policy a:hover {
    text-decoration: underline;
}
