:root {
    --font-main: 'Inter', sans-serif;
    --color-text: #333;
    --color-text-secondary: #666;
    --color-bg: #fcfcfc;
    --color-card-bg: rgba(255, 255, 255, 0.9);
    --color-primary: #00205b;
    --color-border: #ddd;
    --color-tag-bg: #eee;
    --transition-speed: 0.5s;
}

[data-theme="dark"] {
    --color-text: #e0e0e0;
    --color-text-secondary: #aaa;
    --color-bg: #121212;
    --color-card-bg: rgba(30, 30, 30, 0.9);
    --color-primary: #64b5f6;
    --color-border: #444;
    --color-tag-bg: #333;
}

/* Toggle Container */
.toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

/* Theme Toggle Button */
#theme-toggle {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: var(--color-text);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Language Toggle Button */
#lang-toggle {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: var(--color-text);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-weight: bold;
    font-size: 1rem;
}

#lang-toggle:hover {
    transform: scale(1.1);
}

#theme-toggle:hover {
    transform: scale(1.1);
}

#theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] #theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] #theme-toggle .moon-icon {
    display: block;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

/* Background Effects System */
#background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

#bg-layer-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    transition: background-color var(--transition-speed);
}

.effect-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-speed);
    overflow: hidden;
}

.effect-layer.active {
    opacity: 1;
}

/* Airbus Theme */
#bg-layer-airbus {
    background: linear-gradient(to bottom, #87CEEB, #E0F7FA);
}

[data-theme="dark"] #bg-layer-airbus {
    background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364);
}

.mobile-tower-combined {
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 100px;
    height: 200px;
    transform-origin: bottom center;
    animation: growTower 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.cloud {
    position: absolute;
    background: white;
    border-radius: 50px;
    opacity: 0.8;
    transition: background-color 0.5s ease, opacity 0.5s ease;
}

[data-theme="dark"] .cloud {
    background: #546e7a;
    opacity: 0.4;
}

.cloud-1 {
    width: 200px;
    height: 60px;
    top: 20%;
    left: -200px;
    animation: floatCloud 20s linear infinite;
}

.cloud-2 {
    width: 150px;
    height: 50px;
    top: 50%;
    left: -150px;
    animation: floatCloud 25s linear infinite reverse;
}

.plane-container {
    position: absolute;
    top: 30%;
    left: -100px;
    width: 100px;
    height: 100px;
    /* Animation will be triggered by JS or run infinitely */
    animation: flyPlane 15s linear infinite;
}

.plane-svg {
    width: 100%;
    height: 100%;
    color: #00205b; /* Airbus Blue-ish */
    transform: rotate(90deg);
}

.plane-light {
    fill: transparent;
    transition: fill 0.3s;
}

[data-theme="dark"] .plane-light {
    fill: #ffffff; /* White blinking light */
    animation: strobe 2s infinite;
}

@keyframes strobe {
    0% { opacity: 0; }
    45% { opacity: 0; }
    50% { opacity: 1; filter: drop-shadow(0 0 4px #ffffff); }
    55% { opacity: 0; }
    57% { opacity: 1; filter: drop-shadow(0 0 4px #ffffff); }
    60% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes floatCloud {
    0% { transform: translateX(0); }
    100% { transform: translateX(120vw); }
}

@keyframes flyPlane {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(30vw) translateY(-5vh) rotate(5deg); }
    50% { transform: translateX(60vw) translateY(0) rotate(0deg); }
    75% { transform: translateX(90vw) translateY(5vh) rotate(-5deg); }
    100% { transform: translateX(120vw) translateY(0) rotate(0deg); }
}

/* Education Theme (Existing - tweaked) */
#bg-layer-education {
    background: #ffffff;
}

/* Cream Theme (Skills & Projects) */
.cream-theme {
    background: #fdfbf7 !important; /* Cream color */
}

[data-theme="dark"] #bg-layer-skills {
    background: #0f172a !important;
}

[data-theme="dark"] #bg-layer-projects {
    background: #1e1b4b !important;
}

/* Generic Floating Icons for Skills/Projects */
.icon-python {
    top: 20%; left: 15%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%233776AB"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm0 22c-5.514 0-10-4.486-10-10s4.486-10 10-10 10 4.486 10 10-4.486 10-10 10z"/></svg>'); /* Placeholder for Python */
    animation: floatIcon 7s ease-in-out infinite;
}
.icon-brain {
    top: 60%; left: 80%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23555"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>');
    animation: floatIcon 8s ease-in-out infinite reverse;
}
.icon-chart {
    top: 30%; left: 60%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23555"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"/></svg>');
    animation: floatIcon 9s ease-in-out infinite 1s;
}

.icon-phone {
    top: 25%; right: 20%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M17 1.01L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-1.99zM17 19H7V5h10v14z"/></svg>');
    animation: floatIcon 6s ease-in-out infinite;
}
.icon-map {
    bottom: 30%; left: 15%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e74c3c"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
    animation: floatIcon 8s ease-in-out infinite reverse;
}
.icon-rocket {
    top: 50%; left: 50%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23f39c12"><path d="M12 2.5s-4 5-6 10c0 3.5 2.5 6.5 6 6.5s6-3 6-6.5c-2-5-6-10-6-10z"/></svg>');
    animation: floatIcon 10s ease-in-out infinite 2s;
}



/* Education Theme */
#bg-layer-education {
    background: #fdfbf7; /* Light cream/paper color */
}

[data-theme="dark"] #bg-layer-education {
    background: #1a1a1a;
}

.university-building {
    position: absolute;
    bottom: 0;
    right: 10%;
    width: 300px;
    height: 225px;
    transform-origin: bottom center;
    animation: slideUpUni 1s ease-out forwards;
}

@keyframes slideUpUni {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* New SVG Icons for Skills & Projects */
.bg-icon {
    position: absolute;
    opacity: 0.8;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.laptop-icon {
    bottom: 10%;
    left: 10%;
    width: 150px;
    animation: floatIcon 6s ease-in-out infinite;
}

.db-icon {
    bottom: 15%;
    right: 15%;
    width: 80px;
    animation: floatIcon 8s ease-in-out infinite reverse;
}

.browser-icon {
    top: 20%;
    left: 15%;
    width: 160px;
    animation: floatIcon 7s ease-in-out infinite 1s;
}

.rocket-icon {
    top: 15%;
    right: 15%;
    width: 80px;
    animation: floatIcon 5s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Contact Theme */
#bg-layer-contact {
    background: #f0f4f8;
}

[data-theme="dark"] #bg-layer-contact {
    background: #1e293b;
}

.mail-icon {
    top: 20%;
    left: 10%;
    width: 100px;
    animation: floatIcon 6s ease-in-out infinite;
}

.calendar-icon {
    bottom: 20%;
    right: 10%;
    width: 100px;
    animation: floatIcon 7s ease-in-out infinite reverse;
}

/* Layout & Content */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    z-index: 10;
}

.scroll-down:hover {
    opacity: 1;
}

.scroll-down .arrow {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid var(--color-primary);
    border-right: 3px solid var(--color-primary);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.section-spacer {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    width: 100%;
}

.card {
    background: var(--color-card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.card h4 {
    margin-bottom: 1rem;
    font-weight: 400;
}

.date {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-stack span {
    background: var(--color-tag-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
    cursor: default;
}

.tech-stack span:hover {
    background: #E20074;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(226, 0, 116, 0.3);
    border-color: #E20074;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

footer {
    text-align: center;
    padding: 2rem 0;
}

.socials a {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--color-bg);
    color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.btn-submit {
    background-color: var(--color-primary);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #003399;
}

#form-response {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: auto;
    padding: 2rem 0;
    width: 100%;
}

/* Contact Header Alignment */
.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-header h3 {
    margin-bottom: 0;
}

.btn-direct-mail {
    margin-bottom: 0;
}

/* Typewriter Cursor */
.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--color-text);
    animation: blinkCursor 0.7s infinite;
    margin-left: 2px;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Tech Banner */
.tech-banner-wrapper {
    margin-top: 3rem;
    overflow: hidden;
    width: 100%;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollText 30s linear infinite;
}

.tech-track span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    white-space: nowrap;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
}

.socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.separator {
    display: none;
    color: var(--color-primary);
    font-weight: bold;
}

.social-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
}

.social-link:hover {
    opacity: 0.8;
}

.linkedin-icon svg {
    width: 24px;
    height: 24px;
}

/* Responsive Footer */
@media (min-width: 768px) {
    .socials {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .separator {
        display: inline;
    }
}

/* Responsive */
@media (max-width: 768px) {
    header h1 { font-size: 2rem; }
    .card { padding: 1.5rem; }
}

/* Legal Page Styles */
.legal-container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    gap: 8px;
    transition: transform 0.3s ease;
}

.back-btn:hover {
    transform: translateX(-5px);
}

.legal-section {
    margin-bottom: 2rem;
}
#privacy { margin-top: 2rem; }

/* Social Links (Footer) - Removed duplicate block */

/* Direct Mail Button */
.btn-direct-mail {
    display: inline-block;
    /* margin-bottom removed for flex alignment */
    font-size: 0.9rem;
    color: var(--color-primary);
    text-decoration: none;
    border: 1px solid var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-direct-mail:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Location Badge (Hero) */
.location-badge {
    margin-top: 1rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.location-badge a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: var(--color-card-bg);
    border-radius: 20px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.location-badge a:hover {
    background: var(--color-card-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Center Skills cards on larger screens */
@media (min-width: 768px) {
    #skills .grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.125rem; /* Reduced by 25% from 1.5rem */
    }
    
    #skills .grid .card {
        flex: 1 1 300px;
        max-width: 400px;
    }
}

/* --- Timeline für Education --- */
.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--color-border);
    margin-left: 1rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-marker {
    position: absolute;
    left: -2.6rem; /* Position auf der Linie */
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--color-bg);
    border: 4px solid #E20074; /* Magenta Akzent */
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(226, 0, 116, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    background: #E20074;
    transform: scale(1.2);
}

/* --- Skill Badges --- */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.skill-badge {
    background: var(--color-tag-bg);
    border: 1px solid var(--color-border);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.2s ease;
    cursor: default;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.skill-badge:hover {
    background: #E20074;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(226, 0, 116, 0.3);
    border-color: #E20074;
}

/* --- Project Cards Updates --- */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-icon {
    width: 40px;
    height: 40px;
    background: var(--color-tag-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E20074;
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-live { background: #dcfce7; color: #166534; }
.status-proto { background: #fef9c3; color: #854d0e; }
.status-wip { background: #e0f2fe; color: #0369a1; }
.status-planned { background: #f3f4f6; color: #4b5563; }

/* Kleine Puls-Animation für Live Projekte */
.status-live::before {
    content: '●';
    margin-right: 4px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cookie-content {
    background: var(--color-card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    max-width: 600px;
    width: 100%;
    pointer-events: auto;
    border: 1px solid var(--color-border);
    animation: slideUpCookie 0.5s ease-out;
}

@keyframes slideUpCookie {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-content h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-size: 1.25rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    flex: 1;
    text-align: center;
}

/* Cookie Settings View */
.cookie-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}
.cookie-setting-item:last-of-type {
    border-bottom: none;
}
.cookie-setting-info {
    flex: 1;
    padding-right: 1rem;
}
.cookie-setting-info strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}
.cookie-setting-info p {
    margin-bottom: 0 !important;
    font-size: 0.85rem;
}
.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cookie-toggle span {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

/* Base Toggle Switch CSS */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  flex-shrink: 0;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--color-border);
  transition: .4s;
  border-radius: 20px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 2px; bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--color-primary);
}
input:checked + .slider:before {
  transform: translateX(20px);
}
input:disabled + .slider {
  background-color: #e0e0e0;
  cursor: not-allowed;
}
[data-theme="dark"] .slider {
  background-color: #444;
}
[data-theme="dark"] input:disabled + .slider {
  background-color: #2a2a2a;
}
[data-theme="dark"] input:disabled + .slider:before {
    background-color: #666;
}
