/* pg_referral — Styles front-office */

.pg-referral-dashboard {
    max-width: 800px;
}

.pg-referral-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.pg-referral-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #232323;
}

/* Code display */
.pg-referral-code-display {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.pg-referral-code {
    font-family: monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2fb5d2;
    letter-spacing: 2px;
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 2px dashed #2fb5d2;
}

/* Referral URL (subtle, under the code) */
.pg-referral-url {
    display: block;
    font-size: 0.82rem;
    color: #999;
    word-break: break-all;
    margin-bottom: 1rem;
}

/* Share buttons */
.pg-referral-share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pg-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    color: #fff;
    transition: opacity 0.2s;
}

.pg-share-btn:hover {
    opacity: 0.85;
    color: #fff;
    text-decoration: none;
}

.pg-share-btn .fa {
    font-size: 1.1rem;
}

.pg-share-btn--copy {
    background-color: #2fb5d2;
}

.pg-share-btn--email {
    background-color: #555;
}

.pg-share-btn--facebook {
    background-color: #1877f2;
}

.pg-share-btn--copy.copied {
    background-color: #28a745;
}

/* Enter code section */
.pg-referral-enter-section .input-group {
    max-width: 500px;
}

/* Godchildren table */
.pg-referral-godchildren-section .table {
    background: #fff;
}

.pg-referral-empty {
    color: #7a7a7a;
    font-style: italic;
}

/* Order confirmation hook */
.pg-referral-confirmation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pg-referral-confirmation .fa {
    font-size: 1.2rem;
}

/* Mon Compte link */
#pg-referral-link .link-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
