/* ============================================
   Checker — Fake Follower Checker UI Styles
   Figma: Desktop-15 / Frame 91 / Frame 92
   Outer card: 1140px, inner content: 740px centered
   ============================================ */

/* Input row — joined input + button */
.checker-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 30px;
}

.checker-form__input {
    width: 300px;
    max-width: 100%;
    height: 48px;
    padding: 0 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-right: none;
    border-radius: 6px 0 0 6px;
    background: #fff;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.checker-form__input::placeholder {
    color: #999;
}

.checker-form__input:focus {
    border-color: #6C63FF;
}

.checker-form__btn {
    height: 48px;
    padding: 0 28px;
    border: none;
    border-radius: 0 6px 6px 0;
    background: linear-gradient(135deg, #6C63FF 0%, #5A52E0 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.checker-form__btn:hover {
    opacity: 0.9;
}

.checker-form__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, #9591d1 0%, #8884c0 100%);
}

/* Error message */
.checker-error {
    text-align: center;
    color: #ff4d4d;
    font-size: 14px;
    margin-top: 12px;
    min-height: 20px;
    font-weight: 500;
}

/* ============================================
   Result card — outer container 1140px
   ============================================ */
.checker-result {
    display: none;
    width: 1140px;
    max-width: calc(100% - 24px);
    margin: -60px auto 0;
    background: #fff;
    border-radius: 12px;
    padding: 32px 0 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    border: 1px solid #e5e5ea;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
    text-align: left;
}

.checker-result *,
.checker-result *::before,
.checker-result *::after {
    box-sizing: border-box;
}

/* Inner content wrapper — 740px centered */
.checker-result__inner {
    width: 740px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.checker-result__title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 24px;
    line-height: 1.2;
}

/* Account row */
.checker-result__account {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 555px;
    margin: auto;
}

.checker-result__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8e8e8;
    flex-shrink: 0;
}

.checker-result__user-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.checker-result__fullname {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checker-result__username {
    font-size: 14px;
    color: #888;
    margin: 4px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CHECK FULL button */
.checker-result__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 32px;
    border-radius: 10px;
    background: linear-gradient(94.89deg, #3464CF 0.74%, #691E99 97.37%);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: 1px;
    transition: opacity 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.checker-result__cta-btn:hover {
    opacity: 0.9;
    color: #fff !important;
    text-decoration: none !important;
}

/* ============================================
   Progress bar
   ============================================ */
.checker-result__progress {
    display: none;
    width: 100%;
    margin-top: 16px;
}

.checker-result__progress-bar-wrap {
    width: 100%;
    height: 5px;
    background: #e5e5ea;
    border-radius: 3px;
    overflow: hidden;
}

.checker-result__progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6C63FF 0%, #3B82F6 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ============================================
   Content area
   ============================================ */
.checker-result__content {
    display: none;
    width: 100%;
}

/* Divider — lavender lines */
.checker-result__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
    width: 100%;
}

.checker-result__divider-line {
    flex: 1;
    height: 1px;
    background: #c8c0dd;
}

.checker-result__divider-text {
    font-size: 16px;
    font-weight: 400;
    color: #7a7194;
    white-space: nowrap;
}

/* ============================================
   Metric cards — 3-column grid
   Gradient from Figma
   ============================================ */
.checker-result__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.checker-result__card {
    background: linear-gradient(151.19deg, rgba(213, 204, 238, 0.62) -117.44%, #23163D 82.52%);
    border-radius: 16px;
    padding: 20px 24px;
    min-width: 0;
}

.checker-result__card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
    font-weight: 500;
    white-space: nowrap;
}

.checker-result__card-label svg,
.checker-result__card-label img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.checker-result__card-value {
    font-size: 40px;
    font-weight: 700;
    color: #F8F8FA;
    line-height: 1.2;
}

/* ============================================
   Bottom CTA
   ============================================ */
.checker-result__bottom-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 14px;
    border-radius: 8px;
    width: 100%;
}

.checker-result__bottom-cta-line {
    width: 3px;
    min-height: 44px;
    align-self: stretch;
    background: linear-gradient(180deg, #6C63FF, #3B82F6);
    border-radius: 2px;
    flex-shrink: 0;
}

.checker-result__bottom-cta-text {
    flex: 1;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

/* ============================================
   Responsive — breakpoint ~780px
   ============================================ */
@media (max-width: 780px) {
    .checker-form {
        flex-direction: column;
        gap: 8px;
        padding: 0 16px;
    }

    .checker-form__input {
        width: 100%;
        border-radius: 6px;
        border-right: 2px solid rgba(255,255,255,0.3);
    }

    .checker-form__btn {
        width: 100%;
        border-radius: 6px;
    }

    .checker-result {
        margin-top: -40px;
        padding: 24px 0 20px;
    }

    .checker-result__inner {
        padding: 0 16px;
    }

    .checker-result__account {
        flex-direction: column;
        text-align: center;
    }

    .checker-result__user-info {
        text-align: center;
    }

    .checker-result__cards {
        grid-template-columns: 1fr;
    }

    .checker-result__card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
    }

    .checker-result__card-label {
        margin-bottom: 0;
        font-size: 16px;
    }

    .checker-result__card-label svg,
    .checker-result__card-label img {
        width: 24px;
        height: 24px;
    }

    .checker-result__card-value {
        font-size: 24px;
    }

    .checker-result__bottom-cta {
        flex-direction: column;
        text-align: center;
    }

    .checker-result__bottom-cta-line {
        width: 60px;
        min-height: 3px;
        height: 3px;
    }
}
