/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    background: #fff;
    color: #1d1d1f;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: #007aff; text-decoration: none; }
a:hover { text-decoration: underline; }

/* LAYOUT */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* NAVIGACE */
.navbar {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: #1d1d1f;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.nav-links a {
    color: #6e6e73;
    font-size: 0.95rem;
}
.nav-links a:hover { color: #1d1d1f; text-decoration: none; }
.nav-links .social-icon { font-size: 1.2rem; }
.nav-links .admin-link { font-size: 1.2rem; }

/* Přepínač jazyků */
.lang-switcher a {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6e6e73;
}
.lang-switcher a.active {
    background: #007aff;
    color: #fff;
}
.lang-switcher a:hover { text-decoration: none; }

/* Hamburger */
.hamburger {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #1d1d1f;
}

/* RESPONZIVITA NAV */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #f0f0f0;
    }
    .nav-links.active { display: flex; }
    .lang-switcher { margin-left: 0; }
}

/* HERO */
.hero {
    padding: 60px 0 40px;
    text-align: center;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.hero p {
    font-size: 1.2rem;
    color: #6e6e73;
}

/* O MNĚ */
.about-text {
    font-size: 1.1rem;
    color: #3a3a3e;
    max-width: 700px;
    line-height: 1.8;
    margin: 10px 0 30px;
}

/* SKILL SET */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
    margin: 20px 0 40px;
}
.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.skill-name {
    min-width: 80px;
    font-weight: 500;
}
.skill-bar {
    flex: 1;
    height: 8px;
    background: #e5e5ea;
    border-radius: 10px;
    overflow: hidden;
}
.skill-bar-fill {
    height: 100%;
    background: #007aff;
    border-radius: 10px;
    transition: width 0.6s ease;
}
.skill-level {
    min-width: 40px;
    font-size: 0.85rem;
    color: #6e6e73;
}
@media (max-width: 600px) {
    .skills-grid { grid-template-columns: 1fr; }
}

/* PROJEKTY - mřížka */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin: 30px 0;
}
.project-card {
    background: #f5f5f7;
    border-radius: 18px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.project-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
}
.project-card h3 { font-size: 1.2rem; font-weight: 600; }
.project-card .tech {
    color: #6e6e73;
    font-size: 0.85rem;
    margin: 4px 0;
}
.project-card .btn-outline {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 18px;
    border: 1px solid #007aff;
    border-radius: 980px;
    color: #007aff;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s;
}
.project-card .btn-outline:hover {
    background: #007aff;
    color: #fff;
    text-decoration: none;
}

/* DETAIL PROJEKTU */
.project-detail .project-image {
    margin: 20px 0;
    border-radius: 18px;
    overflow: hidden;
}
.project-detail .project-image img { width: 100%; }
.project-detail .meta {
    display: flex;
    gap: 20px;
    color: #6e6e73;
    margin: 10px 0 20px;
}
.project-detail .content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 20px 0;
}

/* KONTAKT - dvousloupcový */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
}
@media (max-width: 700px) {
    .two-col { grid-template-columns: 1fr; }
}

/* FORMULÁŘE */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 4px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 1rem;
    background: #fff;
    transition: border 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: #007aff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0,122,255,0.15);
}
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #6e6e73;
}
.checkbox-group input { width: auto; }

.btn-primary, .btn-secondary, .btn-cookie, .btn-cookie-secondary {
    padding: 10px 28px;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border: none;
}
.btn-primary {
    background: #007aff;
    color: #fff;
}
.btn-primary:hover { background: #005bbf; }
.btn-secondary {
    background: transparent;
    border: 1px solid #d2d2d7;
}
.btn-secondary:hover { background: #f5f5f7; }

/* FLASH MESSAGES */
.flash-message {
    padding: 12px 20px;
    border-radius: 12px;
    margin: 20px 0;
    background: #e8f5e9;
    color: #1e7e34;
}
.flash-message.error { background: #fce4ec; color: #b71c1c; }

/* PATIČKA */
.footer {
    text-align: center;
    padding: 40px 0 30px;
    color: #86868b;
    border-top: 1px solid #f0f0f0;
    margin-top: 60px;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.footer-links a { color: #86868b; font-size: 0.9rem; }
.footer-links a:hover { color: #1d1d1f; text-decoration: underline; }
.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.footer-social a { color: #86868b; }
.footer-social a:hover { color: #1d1d1f; }

/* COOKIE LIŠTA */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.92);
    color: #fff;
    padding: 14px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}
.cookie-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.cookie-bar p {
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
}
.cookie-bar a.cookie-link {
    color: #007aff;
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.btn-cookie {
    background: #007aff;
    color: #fff;
    padding: 6px 20px;
    font-size: 0.9rem;
}
.btn-cookie:hover { background: #005bbf; }
.btn-cookie-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 20px;
    font-size: 0.9rem;
}
.btn-cookie-secondary:hover { background: rgba(255,255,255,0.1); }
@media (max-width: 600px) {
    .cookie-bar-inner { flex-direction: column; align-items: flex-start; }
    .cookie-buttons { width: 100%; justify-content: flex-start; }
}

/* ADMIN */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.admin-table th, .admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e5ea;
    text-align: left;
}
.admin-table th { font-weight: 600; color: #6e6e73; }
.admin-actions a { margin-right: 12px; }

.login-container {
    max-width: 400px;
    margin: 60px auto;
}

/* HLAVNÍ OBSAH - mezery */
.main {
    padding-top: 20px;
    padding-bottom: 40px;
}

/* STATICKÉ STRÁNKY */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0 60px;
}
.legal-page h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.legal-page .last-updated {
    color: #6e6e73;
    font-size: 0.9rem;
    margin-bottom: 30px;
}
.legal-page section {
    margin: 30px 0;
}
.legal-page h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e5ea;
}
.legal-page ul {
    padding-left: 24px;
    margin: 10px 0;
}
.legal-page li {
    margin: 6px 0;
}
.legal-page table.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.legal-page table.cookies-table th,
.legal-page table.cookies-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e5ea;
    text-align: left;
}
.legal-page table.cookies-table th {
    background: #f5f5f7;
    font-weight: 600;
}

/* OSTATNÍ DOPLŇKY */
.text-center { text-align: center; margin-top: 20px; }
.section-title { font-size: 2rem; font-weight: 600; margin: 40px 0 20px; letter-spacing: -0.02em; }

/* Skill set – grafické znázornění */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
    margin: 20px 0 40px;
}
.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.skill-name {
    min-width: 90px;
    font-weight: 500;
}
.skill-bar {
    flex: 1;
    height: 8px;
    background: #e5e5ea;
    border-radius: 10px;
    overflow: hidden;
}
.skill-bar-fill {
    height: 100%;
    background: #007aff;
    border-radius: 10px;
    transition: width 0.6s ease;
}
.skill-level {
    min-width: 40px;
    font-size: 0.85rem;
    color: #6e6e73;
}
@media (max-width: 600px) {
    .skills-grid { grid-template-columns: 1fr; }
}

/* Projekty – karty */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin: 30px 0;
}
.project-card {
    background: #f5f5f7;
    border-radius: 18px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.project-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
}
.project-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 4px;
}
.project-card .tech {
    color: #6e6e73;
    font-size: 0.85rem;
    margin: 0 0 8px;
}
.project-card .btn-outline {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 18px;
    border: 1px solid #007aff;
    border-radius: 980px;
    color: #007aff;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s;
}
.project-card .btn-outline:hover {
    background: #007aff;
    color: #fff;
    text-decoration: none;
}

/* Dvousloupcový layout pro kontakt */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
}
@media (max-width: 700px) {
    .two-col { grid-template-columns: 1fr; }
}

/* --- PROJEKTY - SEZNAM --- */
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 20px 0 30px;
}
.empty-state {
    text-align: center;
    color: #6e6e73;
    font-size: 1.2rem;
    padding: 60px 0;
}

/* --- PROJEKT - DETAIL --- */
.project-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0 60px;
}
.project-detail .project-image {
    margin: 20px 0 30px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.project-detail .project-image img {
    width: 100%;
    display: block;
}
.project-detail .project-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.project-detail .project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    color: #6e6e73;
    font-size: 0.95rem;
}
.project-detail .project-meta i {
    margin-right: 6px;
    width: 16px;
}
.project-detail .project-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #3a3a3e;
}
.project-detail .project-content h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 32px 0 16px;
}
.project-detail .project-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 24px 0 12px;
}
.project-detail .project-content ul,
.project-detail .project-content ol {
    padding-left: 24px;
    margin: 12px 0;
}
.project-detail .project-content li {
    margin: 6px 0;
}
.project-detail .project-content a {
    color: #007aff;
    text-decoration: underline;
}
.project-detail .project-content a:hover {
    text-decoration: none;
}
.project-detail .project-content blockquote {
    border-left: 4px solid #007aff;
    padding-left: 20px;
    margin: 20px 0;
    color: #6e6e73;
    font-style: italic;
}
.project-detail .project-actions {
    margin: 32px 0 24px;
}
.project-detail .project-back {
    margin-top: 40px;
}
.project-detail .project-back .btn-secondary {
    background: transparent;
    border: 1px solid #d2d2d7;
    padding: 10px 24px;
    border-radius: 980px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
    color: #1d1d1f;
    text-decoration: none;
}
.project-detail .project-back .btn-secondary:hover {
    background: #f5f5f7;
    text-decoration: none;
}
.project-detail .project-back i {
    margin-right: 8px;
}

/* Responzivita detailu */
@media (max-width: 700px) {
    .project-detail .project-title {
        font-size: 1.8rem;
    }
    .project-detail .project-content {
        font-size: 1rem;
    }
}

/* --- STATICKÉ STRÁNKY (GDPR, Soukromí, Cookies) --- */
.legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 20px 0 60px;
}
.legal-page h1 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    color: #1d1d1f;
}
.legal-page .legal-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #3a3a3e;
}
.legal-page .legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5ea;
}
.legal-page .legal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 24px 0 10px;
}
.legal-page .legal-content p {
    margin: 12px 0;
}
.legal-page .legal-content ul,
.legal-page .legal-content ol {
    padding-left: 24px;
    margin: 12px 0;
}
.legal-page .legal-content li {
    margin: 6px 0;
}
.legal-page .legal-content a {
    color: #007aff;
    text-decoration: underline;
}
.legal-page .legal-content a:hover {
    text-decoration: none;
}
.legal-page .legal-content blockquote {
    border-left: 4px solid #007aff;
    padding-left: 20px;
    margin: 20px 0;
    color: #6e6e73;
    font-style: italic;
}
.legal-page .legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.legal-page .legal-content table th,
.legal-page .legal-content table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e5ea;
    text-align: left;
}
.legal-page .legal-content table th {
    background: #f5f5f7;
    font-weight: 600;
}
.legal-page .legal-content .last-updated {
    color: #6e6e73;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Responzivita */
@media (max-width: 700px) {
    .legal-page h1 {
        font-size: 1.8rem;
    }
    .legal-page .legal-content {
        font-size: 1rem;
    }
}

/* ---------- ADMIN ---------- */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}
.admin-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.admin-section {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid #e5e5ea;
}
.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.admin-section h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
}
.admin-table th,
.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e5ea;
    text-align: left;
}
.admin-table th {
    font-weight: 600;
    color: #6e6e73;
    background: #f5f5f7;
}
.admin-table .empty-state {
    text-align: center;
    color: #6e6e73;
    padding: 30px 0;
}
.admin-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.btn-small {
    padding: 4px 12px;
    border-radius: 980px;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #d2d2d7;
    color: #1d1d1f;
    background: transparent;
    transition: background 0.2s;
}
.btn-small:hover {
    background: #f5f5f7;
    text-decoration: none;
}
.btn-danger {
    color: #c00;
    border-color: #f5c6cb;
}
.btn-danger:hover {
    background: #fce4ec;
}

.admin-login {
    max-width: 400px;
    margin: 60px auto;
    padding: 40px;
    background: #f5f5f7;
    border-radius: 18px;
}
.admin-login h1 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}
.admin-login-help {
    margin-top: 16px;
    text-align: center;
    color: #6e6e73;
    font-size: 0.85rem;
}
.admin-login-help code {
    background: #e5e5ea;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Admin formulář pro projekt */
.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 20px 0 30px;
}
.admin-form-column h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5ea;
}
.admin-translation-block {
    margin: 16px 0;
    padding: 16px;
    background: #f8f8fa;
    border-radius: 12px;
}
.admin-translation-block h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: #6e6e73;
}

/* Responsivita adminu */
@media (max-width: 900px) {
    .admin-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
@media (max-width: 700px) {
    .admin-table {
        font-size: 0.85rem;
    }
    .admin-table th,
    .admin-table td {
        padding: 6px 8px;
    }
}

/* ---------- COOKIE BANNER ---------- */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    backdrop-filter: blur(4px);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
    padding: 32px 24px 24px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner__content {
    max-width: 700px;
    margin: 0 auto;
}

.cookie-banner__header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.cookie-banner__header p {
    color: #6e6e73;
    margin: 0 0 20px;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f5f5f7;
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-option__info {
    flex: 1;
}

.cookie-option__info strong {
    display: block;
    font-weight: 600;
}

.cookie-option__desc {
    font-size: 0.85rem;
    color: #6e6e73;
}

.cookie-option__badge {
    font-size: 0.8rem;
    color: #6e6e73;
    background: #e5e5ea;
    padding: 4px 12px;
    border-radius: 980px;
}

.cookie-option__control {
    display: flex;
    align-items: center;
}

.cookie-banner__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.cookie-banner__buttons .btn {
    padding: 10px 24px;
    border-radius: 980px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.cookie-banner__buttons .btn-primary {
    background: #007aff;
    color: #fff;
}
.cookie-banner__buttons .btn-primary:hover {
    background: #005bbf;
}

.cookie-banner__buttons .btn-secondary {
    background: #e5e5ea;
    color: #1d1d1f;
}
.cookie-banner__buttons .btn-secondary:hover {
    background: #d2d2d7;
}

.cookie-banner__buttons .btn-outline {
    background: transparent;
    color: #1d1d1f;
    border: 1px solid #d2d2d7;
}
.cookie-banner__buttons .btn-outline:hover {
    background: #f5f5f7;
}

.cookie-banner__footer {
    font-size: 0.85rem;
    color: #6e6e73;
    text-align: center;
    margin: 0;
}

.cookie-banner__footer a {
    color: #007aff;
    text-decoration: underline;
    cursor: pointer;
}
.cookie-banner__footer a:hover {
    text-decoration: none;
}

/* Toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #d2d2d7;
    transition: .3s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: .3s;
    border-radius: 50%;
}
.switch input:checked + .slider {
    background: #007aff;
}
.switch input:checked + .slider:before {
    transform: translateX(20px);
}

/* Responzivita */
@media (max-width: 600px) {
    .cookie-banner {
        padding: 20px 16px 16px;
    }
    .cookie-option {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner__buttons {
        flex-direction: column;
    }
    .cookie-banner__buttons .btn {
        width: 100%;
        text-align: center;
    }
}