:root {
    --bg-color: #0a0b10;
    --surface-color: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --primary-accent: #00d2ff;
    --primary-accent-glow: rgba(0, 210, 255, 0.4);
    --secondary-accent: #3a7bd5;
    --text-main: #e0e0e0;
    --text-dim: #a0a0a0;
    --white: #ffffff;
    --glass-blur: 12px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

h1,
h2,
h3 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.glass-card {
    background: var(--surface-color);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
}

.glass-card:hover {
    border-color: var(--primary-accent);
    box-shadow: 0 0 30px var(--primary-accent-glow);
    transform: translateY(-5px);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: var(--bg-color);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.2);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 210, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-accent);
    color: var(--primary-accent);
}

.btn-outline:hover {
    background: rgba(0, 210, 255, 0.1);
    box-shadow: 0 0 20px var(--primary-accent-glow);
    transform: scale(1.05);
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#canvas-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 210, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

#canvas-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 210, 255, 0.08) 0%, transparent 80%);
}

.energy-blob {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.05) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -2;
    pointer-events: none;
    animation: floating 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(58, 123, 213, 0.06) 0%, transparent 70%);
}

.blob-2 {
    bottom: -200px;
    right: -200px;
    animation-delay: -7s;
}

@keyframes floating {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(150px, 80px);
    }
}

header {
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo span {
    color: var(--primary-accent);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px var(--primary-accent-glow));
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-accent);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-accent);
    box-shadow: 0 0 10px var(--primary-accent-glow);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 100%;
        opacity: 1;
    }
}

.hero {
    padding: 15rem 0 10rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.4rem;
    color: var(--text-dim);
    margin-bottom: 4rem;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 2rem;
}

/* Handwerk Special Styling */
.niche-box {
    border: 1px solid rgba(0, 210, 255, 0.15);
    background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.05), transparent);
}

.niche-header {
    text-align: center;
    margin-bottom: 5rem;
}

.niche-intro {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 1.5rem auto 0;
}

.niche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.niche-item {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid var(--surface-border);
    transition: var(--transition-smooth);
}

.niche-item:hover {
    background: rgba(0, 210, 255, 0.05);
    border-color: var(--primary-accent);
}

.niche-item h4 {
    color: var(--primary-accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.niche-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Showcase Styling */
.showcase-card {
    border-left: 4px solid var(--primary-accent);
}

.category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

/* Process Styling */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 5rem;
    position: relative;
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

.step-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 210, 255, 0.05);
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Outfit', sans-serif;
}

.process-step {
    text-align: center;
    padding: 3.5rem 2rem;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid var(--surface-border);
    transition: var(--transition-smooth);
    overflow: visible;
}

/* Color Markers for Steps */
.process-step:nth-child(1) {
    --step-color: #00d2ff;
}

.process-step:nth-child(2) {
    --step-color: #00f2fe;
}

.process-step:nth-child(3) {
    --step-color: #3a7bd5;
}

.process-step:nth-child(4) {
    --step-color: #8e2de2;
}

.process-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--step-color);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 0 15px var(--step-color);
}

.process-step .step-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--step-color);
    opacity: 0.1;
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Outfit', sans-serif;
    transition: var(--transition-smooth);
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--step-color);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.process-step:hover .step-num {
    opacity: 0.3;
    transform: translateX(-50%) scale(1.1);
}

.process-step h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
}

/* Connectors between steps (Desktop) */
@media (min-width: 992px) {
    .process-step:not(:last-child)::after {
        content: "→";
        position: absolute;
        right: -2.5rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        color: var(--step-color);
        opacity: 0.3;
        font-family: serif;
    }
}

/* FAQ Styling */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.faq-item h4 {
    margin-bottom: 1rem;
    color: var(--primary-accent);
    display: flex;
    gap: 0.8rem;
}

/* Contact & Footer */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
    margin-top: 5rem;
}

.profile-img {
    width: 100%;
    border-radius: 25px;
    border: 1px solid var(--surface-border);
}

.contact-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

#contact-form {
    display: grid;
    gap: 1.5rem;
    margin-top: 4rem;
}

#contact-form input,
#contact-form textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--surface-border);
    padding: 1.2rem;
    border-radius: 12px;
    color: var(--text-main);
    outline: none;
    transition: var(--transition-smooth);
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--primary-accent);
    background: rgba(255, 255, 255, 0.1);
}

.gdpr-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.gdpr-group a {
    color: var(--primary-accent);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

#cookie-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 380px;
    background: rgba(15, 17, 26, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 24px;
    padding: 2rem;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(30px) scale(0.95);
    opacity: 0;
}

#cookie-banner.visible {
    display: block;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-btns {
    display: flex;
    gap: 1rem;
}

@media (max-width: 992px) {
    h1 {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        display: none;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #cookie-banner {
        left: 20px;
        right: 20px;
        width: auto;
        bottom: 20px;
    }
}

section {
    padding: 6rem 0;
    position: relative;
}

.glass-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-accent);
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.15);
}

.icon,
.niche-item h4 i {
    transition: var(--transition-smooth);
    display: inline-block;
}

.service-card:hover .icon,
.niche-item:hover h4 {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--primary-accent-glow));
}

/* --- Premium Footer Styling --- */
.footer {
    background: rgba(15, 17, 26, 0.95);
    border-top: 1px solid var(--surface-border);
    padding: 6rem 0 3rem;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.footer-brand p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h4::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-accent);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer ul li a:hover {
    color: var(--primary-accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.wa-content {
    display: flex;
    align-items: center;
    background: rgba(15, 17, 26, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 211, 102, 0.3);
    padding: 0.6rem 0.6rem 0.6rem 1.2rem;
    border-radius: 50px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.wa-text {
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 1rem;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    white-space: nowrap;
}

.wa-icon {
    width: 40px;
    height: 40px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.wa-icon svg {
    width: 22px;
    height: 22px;
}

.whatsapp-float:hover .wa-text {
    opacity: 1;
    width: 100px;
    /* Reveal text on hover */
}

.whatsapp-float:hover .wa-icon {
    transform: rotate(15deg) scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }

    .wa-text {
        display: none;
        /* Icon only on mobile */
    }

    .wa-content {
        padding: 0.6rem;
    }
}

/* Contact Form Success Message */
.success-message {
    padding: 3rem;
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.success-message h3 {
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        width: 100%;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hamburger Menu Styling */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(10, 11, 16, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1100;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
        border-left: 1px solid var(--surface-border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Testimonials Styling */
.testimonial-card {
    text-align: left;
    position: relative;
    border-top: 4px solid var(--primary-accent);
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-card .author {
    display: flex;
    flex-direction: column;
}

.testimonial-card .author span:first-child {
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
}

.testimonial-card .author .role {
    color: var(--primary-accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.2rem;
}

/* --- ROI Calculator Styling --- */
.calculator-box {
    text-align: center;
    border: 1px solid rgba(0, 210, 255, 0.3);
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.03), transparent 70%);
}

.roi-intro {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-dim);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--white);
}

.range-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

input[type="range"] {
    flex-grow: 1;
    height: 6px;
    background-image: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-accent-glow);
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.val-display {
    min-width: 60px;
    font-weight: 700;
    color: var(--primary-accent);
    text-align: right;
}

.input-hint {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.result-box {
    background: rgba(0, 210, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--primary-accent);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.1);
}

.result-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-dim);
}

.savings-amount {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    text-shadow: 0 0 20px var(--primary-accent-glow);
}

.btn-block {
    display: block;
    width: 100%;
}

@media (max-width: 992px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- Cookie Modal Styling --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(15, 17, 26, 0.95);
    max-width: 600px;
    width: 100%;
    border: 1px solid var(--primary-accent);
    box-shadow: 0 0 50px rgba(0, 210, 255, 0.15);
}

.modal-intro {
    margin-bottom: 2rem;
    color: var(--text-dim);
}

.cookie-options {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.cookie-option {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.option-header span {
    font-weight: 600;
    color: var(--white);
}

.option-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin: 0;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary-accent);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.switch.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-actions .btn {
    flex: 1;
}

.modal-footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.modal-footer a {
    color: var(--text-dim);
    text-decoration: none;
}

@media (max-width: 576px) {
    .modal-actions {
        flex-direction: column;
    }
}