body {
    min-height: 100vh;
    background: radial-gradient(at 98.65553168103365% 57.1775345193697%, hsla(267.6923076923077, 100%, 87.25490196078431%, 1) 0%, hsla(267.6923076923077, 100%, 87.25490196078431%, 0) 100%), radial-gradient(at 51.90504257377365% 51.42338345586178%, hsla(337.0909090909091, 100%, 89.21568627450979%, 1) 0%, hsla(337.0909090909091, 100%, 89.21568627450979%, 0) 100%), radial-gradient(at 59.75230755301811% 11.620748221682298%, hsla(40, 100%, 85.29411764705883%, 1) 0%, hsla(40, 100%, 85.29411764705883%, 0) 100%), radial-gradient(at 13.434675497552684% 65.99968596901289%, hsla(211.9148936170213, 95.9183673469388%, 80.7843137254902%, 1) 0%, hsla(211.9148936170213, 95.9183673469388%, 80.7843137254902%, 0) 100%), radial-gradient(at 16.127825648370198% 80.1295972764529%, hsla(207.27272727272728, 100%, 89.21568627450979%, 1) 0%, hsla(207.27272727272728, 100%, 89.21568627450979%, 0) 100%), radial-gradient(at 81.71056226593339% 24.051543427133126%, hsla(267.6923076923077, 100%, 87.25490196078431%, 1) 0%, hsla(267.6923076923077, 100%, 87.25490196078431%, 0) 100%), radial-gradient(at 24.017321203254816% 88.65089040473592%, hsla(337.0909090909091, 100%, 89.21568627450979%, 1) 0%, hsla(337.0909090909091, 100%, 89.21568627450979%, 0) 100%), radial-gradient(at 96.17902290420432% 52.2174644381134%, hsla(40, 100%, 85.29411764705883%, 1) 0%, hsla(40, 100%, 85.29411764705883%, 0) 100%);
}
#app {
    height: 100%;
}
.main-card{
    border-radius: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}

.site-audit-cta {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-width: min(100%, 315px);
    padding: .85rem 1rem;
    color: #fff;
    background: linear-gradient(135deg, #6f42c1, #0d6efd);
    border-radius: 1rem;
    box-shadow: 0 .55rem 1.25rem rgba(71, 68, 204, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.site-audit-cta:hover,
.site-audit-cta:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 .75rem 1.5rem rgba(71, 68, 204, .3);
}

.site-audit-cta__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    color: #34236d;
    background: rgba(255, 255, 255, .9);
    border-radius: .8rem;
}

.site-audit-cta__eyebrow,
.site-audit-cta__title {
    display: block;
}

.site-audit-cta__eyebrow {
    margin-bottom: .12rem;
    font-size: .72rem;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: .055em;
    opacity: .78;
}

.site-audit-cta__title {
    font-size: .92rem;
    line-height: 1.25;
    font-weight: 700;
}

.site-audit-cta__arrow {
    margin-left: auto;
    font-size: 1.4rem;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .site-audit-cta {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .main-description {
        font-size: 0.8475rem;
        line-height: 1.35;
        max-width: 42rem;
    }
}

@media (max-width: 575.98px) {
    .main-description {
        font-size: 0.8rem;
        line-height: 1.35;
    }
}

.drop-overlay {
    position: fixed;
    inset: 0;
    background: rgba(56, 8, 52, 0.2);
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.drop-overlay__box {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);
    padding: 2rem 2.5rem;
    text-align: center;
    max-width: 520px;
}

.upload-zone {
    border: 2px dashed #ced4da;
    border-radius: 1rem;
    background: #fff;
    transition: 0.4s ease;
    cursor: pointer;
}

.upload-zone:hover,
.upload-zone.is-dragging {
    border-color: #0d6efd;
    background: #f3f8ff;
}

.upload-zone__inner {
    padding: 3rem 1.25rem;
}

.preview-img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: contain;
    background: #f8f9fa;
    border-radius: 0.75rem;
}

.info-element{
    background: #f8f9fa;
}

.result-card {
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.06);
}

.file-meta dt {
    font-size: 0.8rem;
    color: #6c757d;
}

.file-meta dd {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.file-row + .file-row {
    border-top: 1px solid #e9ecef;
}

.file-row__thumb {
    width: 88px;
    min-width: 88px;
}

.file-row__img {
    width: 88px;
    height: 88px;
    border-radius: 1rem;
    object-fit: cover;
    display: block;
    background: #f3f4f6;
    box-shadow: 0px 1px 4px #00000029;
}

.file-row__main {
    min-width: 0;
}

.file-row__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0.35rem;
}

.file-row__meta {
    font-size: 0.95rem;
}

.file-badge {
    background: #e6f7f5;
    color: #0f9d94;
    font-weight: 700;
    border-radius: 0.6rem;
    padding: 0.3rem 0.55rem;
}

.file-row__status {
    min-width: 120px;
}

.file-row__action {
    min-width: 140px;
    text-align: right;
}

.btn-download {
    background: #eef6f5;
    color: #0f9d94;
    border: 0;
    font-weight: 700;
    border-radius: 0.9rem;
    padding: 0.8rem 1rem;
    white-space: nowrap;
}

.btn-download:hover {
    background: #dff1ef;
    color: #0b7f78;
}

.btn-compress {
    background: #eef3f6;
    color: #0b6efd;
    border: 0;
    font-weight: 700;
    border-radius: 0.9rem;
    padding: 0.8rem 1rem;
    white-space: nowrap;
}

.btn-compress:hover {
    background: #dff1ef;
    color: #0b7f78;
}

@media (max-width: 991.98px) {
    .file-row {
        align-items: flex-start !important;
        flex-wrap: wrap;
    }

    .file-row__status,
    .file-row__action {
        min-width: auto;
        text-align: left;
    }
}

:root {
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    body {
        min-height: 100vh;
        color: #e9edf5;
        background:
            radial-gradient(at 98.65553168103365% 57.1775345193697%, rgba(118, 71, 171, 0.35) 0%, rgba(118, 71, 171, 0) 100%),
            radial-gradient(at 51.90504257377365% 51.42338345586178%, rgba(173, 77, 130, 0.24) 0%, rgba(173, 77, 130, 0) 100%),
            radial-gradient(at 59.75230755301811% 11.620748221682298%, rgba(160, 119, 48, 0.18) 0%, rgba(160, 119, 48, 0) 100%),
            radial-gradient(at 13.434675497552684% 65.99968596901289%, rgba(58, 105, 170, 0.22) 0%, rgba(58, 105, 170, 0) 100%),
            radial-gradient(at 16.127825648370198% 80.1295972764529%, rgba(64, 130, 180, 0.18) 0%, rgba(64, 130, 180, 0) 100%),
            #0b1020;
    }

    .main-card,
    .result-card,
    .card,
    .bg-white {
        background: rgba(17, 24, 39, 0.88) !important;
        color: #e9edf5;
        border: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    }

    .text-muted,
    .text-secondary,
    .main-description,
    .file-meta dt {
        color: #9ca3af !important;
    }

    h1, h2, h3, h4, h5, h6,
    .file-row__title {
        color: #f3f4f6;
    }

    .upload-zone {
        border: 2px dashed rgba(148, 163, 184, 0.35);
        border-radius: 1rem;
        background: rgba(15, 23, 42, 0.72);
        color: #e5e7eb;
    }

    .upload-zone:hover,
    .upload-zone.is-dragging {
        border-color: #60a5fa;
        background: rgba(30, 41, 59, 0.95);
    }

    .drop-overlay {
        background: rgba(2, 6, 23, 0.72);
    }

    .drop-overlay__box {
        background: #111827;
        color: #f3f4f6;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.45);
    }

    .preview-img {
        background: #0f172a;
    }

    .file-row + .file-row {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .file-row__img {
        background: #111827;
        box-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
    }

    .file-badge {
        background: rgba(20, 184, 166, 0.14);
        color: #5eead4;
    }

    .info-element{
        background: #12182b;
    }

    .btn-download {
        background: rgba(20, 184, 166, 0.14);
        color: #5eead4;
        border: 1px solid rgba(94, 234, 212, 0.18);
    }

    .btn-download:hover {
        background: rgba(20, 184, 166, 0.22);
        color: #99f6e4;
    }

    .btn-primary {
        background-color: #2563eb;
        border-color: #2563eb;
    }

    .btn-primary:hover {
        background-color: #1d4ed8;
        border-color: #1d4ed8;
    }

    .btn-outline-secondary,
    .btn-light {
        background: #1f2937;
        color: #e5e7eb;
        border-color: #374151;
    }

    .btn-outline-secondary:hover,
    .btn-light:hover {
        background: #374151;
        color: #fff;
        border-color: #4b5563;
    }

    .form-control,
    .form-select {
        background-color: #111827;
        border-color: #374151;
        color: #f3f4f6;
    }

    .form-control:focus,
    .form-select:focus {
        background-color: #111827;
        border-color: #60a5fa;
        color: #fff;
        box-shadow: 0 0 0 0.25rem rgba(96, 165, 250, 0.2);
    }

    .form-control::placeholder {
        color: #94a3b8;
    }

    .alert-danger {
        background: rgba(220, 38, 38, 0.12);
        border-color: rgba(220, 38, 38, 0.24);
        color: #fecaca;
    }

    .border,
    .border-top,
    .border-bottom {
        border-color: rgba(255, 255, 255, 0.08) !important;
    }
}
