/* =============================================================
   FEEDBACK POPUP
   ============================================================= */

.fb-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .3s ease;
}

.fb-overlay--visible {
    opacity: 1;
}

.fb-card {
    position: relative;
    background: #fffff7;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 36px 32px 28px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .6);
    transform: translateY(24px);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.fb-overlay--visible .fb-card {
    transform: translateY(0);
}

.fb-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    border-radius: 50%;
    transition: color .2s, background .2s;
}

.fb-close:hover {
    background: rgba(255, 255, 255, .08);
    color: #ccc;
}

/* ── Header ── */
.fb-header {
    text-align: center;
    margin-bottom: 24px;
}

.fb-emoji {
    font-size: 2.4rem;
    margin-bottom: 8px;
}

.fb-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1d1d20;
    margin: 0 0 6px;
}

.fb-subtitle {
    font-size: .85rem;
    color: #8888aa;
    margin: 0;
}

/* ── Stars ── */
.fb-stars-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.fb-star {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #444;
    cursor: pointer;
    padding: 4px;
    transition: color .15s, transform .15s;
    line-height: 1;
}

.fb-star:hover,
.fb-star--active {
    color: #F5B800;
    transform: scale(1.15);
}

.fb-stars-hint {
    text-align: center;
    font-size: .8rem;
    color: #8888aa;
    margin: 0 0 20px;
    min-height: 1.2em;
    transition: color .2s;
}

/* ── Textareas ── */
.fb-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.fb-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: #222229;
    margin-bottom: 6px;
}

.fb-textarea {
    width: 100%;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    color: #46464f;
    font-family: 'Inter', sans-serif;
    font-size: .88rem;
    padding: 10px 12px;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color .2s;
}

.fb-textarea:focus {
    outline: none;
    border-color: rgba(245, 184, 0, .5);
}

.fb-textarea::placeholder {
    color: #555;
}

/* ── Actions ── */
.fb-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.fb-btn {
    padding: 10px 22px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: opacity .2s, transform .1s;
    font-family: 'Inter', sans-serif;
}

.fb-btn:active { transform: scale(.97); }

.fb-btn--skip {
    background: transparent;
    color: #8888aa;
    border: 1px solid rgba(255, 255, 255, .08);
}

.fb-btn--skip:hover {
    background: rgba(255, 255, 255, .05);
    color: #bbb;
}

.fb-btn--send {
    background: #F5B800;
    color: #000;
    box-shadow: 0 4px 14px rgba(245, 184, 0, .35);
}

.fb-btn--send:hover { opacity: .9; }

/* ── Responsive ── */
@media (max-width: 520px) {
    .fb-card {
        padding: 28px 18px 20px;
    }
    .fb-actions {
        flex-direction: column;
    }
    .fb-btn {
        width: 100%;
        text-align: center;
    }
}
