/**
 * Poster Lab Referral Page Styles
 */

/* Referral Container */
.posterlab-referral-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f9f9f9;
}

.posterlab-referral-box {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    padding: 2.5rem;
}

/* Title and Subtitle */
.posterlab-referral-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.posterlab-referral-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0 0 2rem 0;
    text-align: center;
    line-height: 1.6;
}

/* Messages */
.posterlab-referral-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.posterlab-referral-message svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.posterlab-referral-message-info {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

.posterlab-referral-message.hidden {
    display: none;
}

/* Referral Code Section */
.posterlab-referral-code-section {
    margin-bottom: 2rem;
}

.posterlab-referral-code-box {
    background: linear-gradient(135deg, #605030 0%, #C6A665 100%);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.posterlab-referral-code-label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.posterlab-referral-code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: white;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
}

.referral-code-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.copy-referral-btn {
    background: #f5f5f5;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #666;
}

.copy-referral-btn:hover {
    background: #e5e5e5;
    color: #111;
}

.referral-code-copied {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.referral-code-copied.hidden {
    display: none;
}

/* Share Section */
.posterlab-referral-share {
    text-align: center;
}

.share-label {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn:hover {
    background: #f9f9f9;
    border-color: #d5d5d5;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Social Media Button Colors */
.share-btn-facebook {
    color: #1877F2;
    border-color: #1877F2;
}

.share-btn-facebook:hover {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
}

.share-btn-twitter {
    color: #000000;
    border-color: #000000;
}

.share-btn-twitter:hover {
    background: #000000;
    color: white;
    border-color: #000000;
}

.share-btn-whatsapp {
    color: #25D366;
    border-color: #25D366;
}

.share-btn-whatsapp:hover {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.share-btn-email {
    color: #666;
}

.share-btn-email:hover {
    background: #f0f0f0;
    border-color: #d5d5d5;
}

.share-btn-link {
    color: #666;
}

.share-btn-link:hover {
    background: #f0f0f0;
    border-color: #d5d5d5;
}

/* Benefits Section */
.posterlab-referral-benefits {
    margin: 2.5rem 0;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.benefits-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    text-align: center;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 0.5rem;
}

.benefit-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #605030 0%, #C6A665 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 0.5rem 0;
}

.benefit-card p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Promotional Section */
.posterlab-referral-promo {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
    border-radius: 0.75rem;
    text-align: center;
    border: 2px solid #90caf9;
}

.promo-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.posterlab-referral-promo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1565c0;
    margin: 0 0 1rem 0;
}

.posterlab-referral-promo > p {
    font-size: 1rem;
    color: #424242;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.promo-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
}

.promo-list li {
    font-size: 1rem;
    color: #424242;
    margin-bottom: 0.75rem;
    padding-left: 0;
    font-weight: 500;
}

.promo-list li:last-child {
    margin-bottom: 0;
}

/* Button */
.posterlab-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
}

.posterlab-btn-primary {
    background: linear-gradient(90deg, #605030 0%, #C6A665 100%);
    color: white;
}

.posterlab-btn-primary:hover {
    background: linear-gradient(90deg, #705838 0%, #D4B573 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .posterlab-referral-container {
        padding: 1rem;
    }
    
    .posterlab-referral-box {
        padding: 1.5rem;
    }
    
    .posterlab-referral-title {
        font-size: 1.5rem;
    }
    
    .posterlab-referral-subtitle {
        font-size: 0.875rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .share-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .referral-code-text {
        font-size: 1.25rem;
    }
}

