.weblens-video-downloader {
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
}

.weblens-video-downloader-card {
    width: min(900px, 100%);
    margin: 0 auto;
    padding: 32px;
    border-radius: 24px;
    background: #111827;
    color: #fff;
    box-sizing: border-box;
}

.weblens-video-downloader-heading {
    text-align: center;
    margin-bottom: 28px;
}

.weblens-video-downloader-badge {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .7;
}

.weblens-video-downloader-heading h1 {
    margin: 0 0 10px;
}

.weblens-video-downloader-heading p {
    margin: 0;
    opacity: .7;
}

.weblens-video-input-wrap {
    display: flex;
    gap: 10px;
}

.weblens-video-input-wrap input {
    flex: 1;
    min-width: 0;
    height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    color: #fff;
    box-sizing: border-box;
}

.weblens-video-input-wrap input::placeholder {
    color: rgba(255,255,255,.45);
}

.weblens-video-input-wrap button {
    height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
}

.weblens-video-input-wrap button:disabled {
    opacity: .6;
    cursor: wait;
}

.weblens-video-status {
    min-height: 24px;
    margin-top: 16px;
    text-align: center;
    opacity: .8;
}

.weblens-video-status.is-loading {
    opacity: .65;
}

.weblens-video-status.is-error {
    color: #ff9b9b;
}

.weblens-video-status.is-success {
    color: #8df0b1;
}

.weblens-video-result {
    margin-top: 26px;
}

.weblens-video-result-inner {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    background: rgba(255,255,255,.035);
}

.weblens-video-thumbnail {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    background: #080d18;
}

.weblens-video-result-content {
    padding: 24px;
}

.weblens-video-result-title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
    color: #fff;
}

.weblens-video-result-meta {
    margin-bottom: 20px;
    opacity: .65;
    font-size: 14px;
}

.weblens-video-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.weblens-video-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    background: #fff !important;
    color: #111827 !important;
    text-decoration: none !important;
    font-weight: 700;
    cursor: pointer;
    border: 0;
    transition: transform .18s ease, opacity .18s ease;
}

.weblens-video-download-button.is-hd {
    background: #7c3aed !important;
    color: #fff !important;
}

.weblens-video-download-button:hover {
    transform: translateY(-2px);
    opacity: .92;
}

@media (max-width: 640px) {
    .weblens-video-downloader {
        padding: 24px 14px;
    }

    .weblens-video-downloader-card {
        padding: 22px;
    }

    .weblens-video-input-wrap {
        flex-direction: column;
    }

    .weblens-video-input-wrap button {
        width: 100%;
    }

    .weblens-video-result-content {
        padding: 18px;
    }

    .weblens-video-downloads {
        flex-direction: column;
    }

    .weblens-video-download-button {
        width: 100%;
        box-sizing: border-box;
    }
}

.weblens-video-top-ad {
    width: 100%;
    min-height: 90px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.weblens-video-top-ad > div {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weblens-video-top-ad ins {
    display: block;
    max-width: 100%;
}
