/* Componentes UI adicionales */

/* Lista de referidos */
.referrals-list {
    background: #0f4c75;
    padding: 20px;
    border-radius: 8px;
}

.referral-item {
    background: #1a1a2e;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    border-left: 4px solid #3282b8;
}

.referral-item.active {
    border-left-color: #6bcf7f;
}

.referral-item.pending {
    border-left-color: #ffd93d;
}

.referral-item.inactive {
    border-left-color: #ff6b6b;
}

.referral-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.email {
    font-weight: bold;
    color: #eee;
}

.status-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.status-badge.active {
    background: #6bcf7f;
    color: #000;
}

.status-badge.pending {
    background: #ffd93d;
    color: #000;
}

.status-badge.inactive {
    background: #ff6b6b;
    color: #fff;
}

.referral-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85em;
    color: #ccc;
}

.no-referrals {
    text-align: center;
    color: #ccc;
    font-style: italic;
    padding: 30px;
}

/* Notificaciones */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 11000;
    max-width: 400px;
    word-wrap: break-word;
}

.notification.success {
    background: #6bcf7f;
    color: #000;
}

.notification.error {
    background: #ff6b6b;
    color: #fff;
}

.notification.warning {
    background: #ffd93d;
    color: #000;
}

.notification.info {
    background: #3282b8;
    color: #fff;
}

/* Prompt de login */
.login-prompt {
    text-align: center;
    padding: 40px;
    background: #16213e;
    border-radius: 10px;
    margin: 20px 0;
}

.login-prompt h3 {
    color: #3282b8;
    margin-bottom: 15px;
}

.login-prompt p {
    color: #ccc;
    margin-bottom: 25px;
}

.prompt-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary {
    background: #3282b8;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-primary:hover {
    background: #0f4c75;
}

.btn-secondary {
    background: transparent;
    color: #3282b8;
    border: 2px solid #3282b8;
    padding: 10px 22px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-secondary:hover {
    background: #3282b8;
    color: white;
}

.btn-danger {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-danger:hover {
    background: #e55555;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .user-menu {
        align-items: center;
    }
    
    .user-stats {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .link-container {
        flex-direction: column;
    }
    
    .sharing-buttons {
        flex-direction: column;
    }
    
    .prompt-buttons {
        flex-direction: column;
        align-items: center;
    }
}
