/* house-invite.css v1.0.0 */
.gp-invite-page {
    max-width: 560px; margin: 40px auto; padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.gp-invite-card {
    background: #fff; border-radius: 12px; padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06); border: 1px solid #e2e8f0;
}
.gp-invite-center { text-align: center; }
.gp-invite-center h2 { margin: 16px 0 8px; font-size: 20px; color: #0f172a; }
.gp-invite-center p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.6; }

/* Spinner */
.gp-invite-spinner {
    width: 36px; height: 36px; border: 3px solid #e2e8f0;
    border-top-color: #4f46e5; border-radius: 50%;
    animation: gp-inv-spin 1s linear infinite; margin: 0 auto 16px;
}
@keyframes gp-inv-spin { to { transform: rotate(360deg); } }

/* Icons */
.gp-invite-icon {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin: 0 auto 12px;
}
.gp-invite-icon-house  { background: #ede9fe; }
.gp-invite-icon-signup { background: #dbeafe; }
.gp-invite-icon-error  { background: #fee2e2; color: #dc2626; font-weight: 700; font-size: 28px; }
.gp-invite-icon-success{ background: #d1fae5; color: #059669; font-weight: 700; font-size: 28px; }

/* Header */
.gp-invite-header { text-align: center; margin-bottom: 24px; }
.gp-invite-header h2 { margin: 0 0 6px; font-size: 22px; color: #0f172a; }
.gp-invite-header p { margin: 0; font-size: 14px; color: #64748b; }

/* Personal note */
.gp-invite-note {
    background: #fffbeb; border-left: 3px solid #f59e0b; border-radius: 0 8px 8px 0;
    padding: 12px 16px; margin-bottom: 24px;
}
.gp-invite-note-label {
    font-size: 11px; font-weight: 600; color: #92400e;
    text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 4px;
}
.gp-invite-note p { margin: 0; font-size: 14px; color: #78350f; line-height: 1.5; }

/* Options */
.gp-invite-options { display: flex; flex-direction: column; gap: 16px; }
.gp-invite-option {
    padding: 20px; border-radius: 10px; border: 1px solid #e2e8f0;
}
.gp-invite-option h3 { margin: 0 0 8px; font-size: 16px; color: #0f172a; }
.gp-invite-option p { margin: 0 0 14px; font-size: 13px; color: #475569; line-height: 1.5; }
.gp-invite-option-guest  { background: #f0fdf4; border-color: #bbf7d0; }
.gp-invite-option-signup { background: #eff6ff; border-color: #bfdbfe; }

/* Buttons */
.gp-invite-btn {
    display: inline-block; padding: 10px 24px; border-radius: 8px; border: 0;
    font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none;
    background: #0f172a; color: #fff; text-align: center;
}
.gp-invite-btn:hover { background: #1e293b; }
.gp-invite-btn-guest  { background: #059669; }
.gp-invite-btn-guest:hover { background: #047857; }
.gp-invite-btn-signup { background: #4f46e5; }
.gp-invite-btn-signup:hover { background: #4338ca; }
.gp-invite-btn-ghost {
    background: transparent; color: #64748b; border: 1px solid #e2e8f0;
    margin-top: 8px; width: 100%;
}
.gp-invite-btn-ghost:hover { background: #f8fafc; color: #0f172a; }

/* Form */
.gp-invite-form { display: flex; flex-direction: column; gap: 16px; }
.gp-invite-field label {
    display: block; font-size: 12px; font-weight: 600; color: #475569;
    margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em;
}
.gp-invite-field input,
.gp-invite-field select,
.gp-invite-field textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px;
    font-size: 14px; font-family: inherit; background: #fff; box-sizing: border-box;
}
.gp-invite-field input:disabled {
    background: #f8fafc; color: #64748b;
}
.gp-invite-field input:focus,
.gp-invite-field select:focus,
.gp-invite-field textarea:focus {
    outline: 0; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.gp-invite-field-hint { font-size: 12px; color: #94a3b8; margin-top: 4px; display: block; }
.gp-invite-verified { color: #059669; font-weight: 600; }
.gp-invite-form-error {
    background: #fef2f2; color: #991b1b; padding: 10px 14px; border-radius: 8px;
    font-size: 13px; border-left: 3px solid #ef4444;
}
.gp-invite-btn-signup:disabled { opacity: .6; cursor: not-allowed; }

/* Responsive */
@media (max-width: 480px) {
    .gp-invite-page { padding: 0 12px; margin: 20px auto; }
    .gp-invite-card { padding: 24px 20px; }
}
