/*
 * Component Styles
 *
 * Reusable UI components: help button, contact sheet, etc.
 */

/* Help/Feedback floating button */
.help-feedback-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
}

.help-feedback-btn button {
    width: 60px;
    height: 60px;
    font-size: 10px;
    line-height: 1.2;
    font-weight: var(--font-weight-bold);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.help-feedback-btn .help-btn-close {
    font-size: 20px;
}

/* Contact sheet overlay */
.contact-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-overlay-light);
    z-index: 1060;
}

.contact-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-radius: 15px 15px 0 0;
    max-height: 80vh;
    overflow-y: auto;
}

.contact-sheet-content {
    padding: var(--spacing-md);
}

/* Contact success icon */
.contact-success-icon {
    font-size: 48px;
}

/* Cursor pointer helper */
.cursor-pointer {
    cursor: pointer;
}

/* Object fit cover helper */
.object-cover {
    object-fit: cover;
}

/* Spacer element */
.spacer-40 {
    height: 40px;
}

/* ---------- Creator (influencer) personalization ---------- */
.creator-avatar {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: var(--brand-soft-pink);
    color: var(--color-primary);
    border: 2px solid var(--color-accent);
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-heavy);
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-avatar--lg {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.2rem;
    border-width: 3px;
}

.creator-avatar--sm {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.75rem;
    border-color: var(--color-primary);
}

/* Homepage hero: "@creator made their postcards. Your turn!" */
.creator-invite {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.7rem 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-card);
}

.creator-invite p {
    margin: 0;
}

.creator-invite-line {
    font-size: 1.05rem;
    line-height: 1.3;
}

.creator-invite-line strong {
    color: var(--color-accent);
}

.creator-quote {
    margin-top: 0.2rem !important;
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.9;
}

/* Wizard pages: slim "Invited by @creator" strip under the nav */
.creator-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.45rem var(--page-gutter);
    background: var(--color-bg-subtle);
    color: var(--color-primary);
    font-size: 0.9rem;
}
