/**
 * Cookie-Seite Styles
 * Spezifische Styles für die cookies.php Seite
 */

/* Container */
.cookie-settings-container {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 0;
    margin-top: 30px;
    border: 1px solid #e9ecef;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

body.theme-dark .cookie-settings-container {
    background-color: #2d3748;
    border-color: #4a5568;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Settings Content */
.cookie-settings-content {
    display: flex;
    align-items: center;
    padding: 25px;
}

.cookie-settings-icon {
    background: linear-gradient(135deg, #4a6cf7, #2651ef);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.cookie-settings-text {
    flex-grow: 1;
    padding-right: 20px;
}

.cookie-settings-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: #333;
}

body.theme-dark .cookie-settings-text h3 {
    color: #e2e8f0;
}

.cookie-settings-text p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

body.theme-dark .cookie-settings-text p {
    color: #a0aec0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cookie-settings-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-settings-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cookie-settings-text {
        padding-right: 0;
        margin-bottom: 15px;
    }
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color, #eaeaea);
}

.cookie-table th,
.cookie-table td {
    padding: 14px 18px;
    text-align: left;
}

.cookie-table th {
    background: linear-gradient(135deg, var(--primary-color, #4a6cf7), var(--primary-color-dark, #2651ef));
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: none;
}

.cookie-table th:first-child {
    border-top-left-radius: 6px;
}

.cookie-table th:last-child {
    border-top-right-radius: 6px;
}

.cookie-table td {
    border-bottom: 1px solid var(--border-color, #eaeaea);
    vertical-align: top;
    line-height: 1.5;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:nth-child(even) {
    background-color: var(--hover-bg, rgba(0, 0, 0, 0.02));
}

.cookie-table tr:hover {
    background-color: var(--hover-bg, rgba(0, 0, 0, 0.04));
    transition: background-color 0.2s;
}

/* Dark Theme Support für Table */
.theme-dark .cookie-table {
    border-color: var(--border-color, #4a5568);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.theme-dark .cookie-table td {
    border-color: var(--border-color, #4a5568);
}

.theme-dark .cookie-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
}

.theme-dark .cookie-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Responsive Tables */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .cookie-table th,
    .cookie-table td {
        padding: 12px 15px;
    }
    
    .cookie-table th {
        font-size: 0.85rem;
    }
}

/* Browser Links */
.browser-links {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

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

.browser-links a {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

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

/* Note */
.note {
    margin-top: 15px;
    font-style: italic;
    color: var(--text-color-light, #6c757d);
} 